TR-mbed 1.0
Loading...
Searching...
No Matches
Macros | Functions
vectorwiseop.cpp File Reference
#include "main.h"

Macros

#define TEST_ENABLE_TEMPORARY_TRACKING
 
#define EIGEN_NO_STATIC_ASSERT
 
#define TEST_PARTIAL_REDUX_BASIC(FUNC, ROW, COL, PREPROCESS)
 

Functions

template<typename ArrayType >
void vectorwiseop_array (const ArrayType &m)
 
template<typename MatrixType >
void vectorwiseop_matrix (const MatrixType &m)
 
 EIGEN_DECLARE_TEST (vectorwiseop)
 

Macro Definition Documentation

◆ EIGEN_NO_STATIC_ASSERT

#define EIGEN_NO_STATIC_ASSERT

◆ TEST_ENABLE_TEMPORARY_TRACKING

#define TEST_ENABLE_TEMPORARY_TRACKING

◆ TEST_PARTIAL_REDUX_BASIC

#define TEST_PARTIAL_REDUX_BASIC (   FUNC,
  ROW,
  COL,
  PREPROCESS 
)
Value:
{ \
ROW = m1 PREPROCESS .colwise().FUNC ; \
for(Index k=0; k<cols; ++k) VERIFY_IS_APPROX(ROW(k), m1.col(k) PREPROCESS .FUNC ); \
COL = m1 PREPROCESS .rowwise().FUNC ; \
for(Index k=0; k<rows; ++k) VERIFY_IS_APPROX(COL(k), m1.row(k) PREPROCESS .FUNC ); \
}
Matrix3d m1
Definition IOFormat.cpp:2
int rows
Definition Tutorial_commainit_02.cpp:1
int cols
Definition Tutorial_commainit_02.cpp:1
#define VERIFY_IS_APPROX(a, b)
Definition integer_types.cpp:15
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( vectorwiseop  )

◆ vectorwiseop_array()

template<typename ArrayType >
void vectorwiseop_array ( const ArrayType &  m)

◆ vectorwiseop_matrix()

template<typename MatrixType >
void vectorwiseop_matrix ( const MatrixType m)