Macros | Functions
vectorwiseop.cpp File Reference
#include "main.h"
Include dependency graph for vectorwiseop.cpp:

Go to the source code of this file.

Macros

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

Functions

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

Macro Definition Documentation

◆ EIGEN_NO_STATIC_ASSERT

#define EIGEN_NO_STATIC_ASSERT

Definition at line 12 of file vectorwiseop.cpp.

◆ TEST_ENABLE_TEMPORARY_TRACKING

#define TEST_ENABLE_TEMPORARY_TRACKING

Definition at line 11 of file vectorwiseop.cpp.

◆ 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 ); \
}

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( vectorwiseop  )

Definition at line 286 of file vectorwiseop.cpp.

◆ vectorwiseop_array()

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

Definition at line 16 of file vectorwiseop.cpp.

◆ vectorwiseop_matrix()

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

Definition at line 129 of file vectorwiseop.cpp.

m1
Matrix3d m1
Definition: IOFormat.cpp:2
rows
int rows
Definition: Tutorial_commainit_02.cpp:1
VERIFY_IS_APPROX
#define VERIFY_IS_APPROX(a, b)
Definition: integer_types.cpp:15
cols
int cols
Definition: Tutorial_commainit_02.cpp:1
Eigen::Index
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:55