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

Go to the source code of this file.

Macros

#define CHECK_MMTR(DEST, TRI, OP)
 

Functions

 EIGEN_DECLARE_TEST (product_mmtr)
 
template<typename Scalar >
void mmtr (int size)
 

Macro Definition Documentation

◆ CHECK_MMTR

#define CHECK_MMTR (   DEST,
  TRI,
  OP 
)
Value:
{ \
ref3 = DEST; \
ref2 = ref1 = DEST; \
DEST.template triangularView<TRI>() OP; \
ref1 OP; \
ref2.template triangularView<TRI>() \
= ref1.template triangularView<TRI>(); \
VERIFY_IS_APPROX(DEST,ref2); \
\
DEST = ref3; \
ref3 = ref2; \
ref3.diagonal() = DEST.diagonal(); \
DEST.template triangularView<TRI|ZeroDiag>() OP; \
VERIFY_IS_APPROX(DEST,ref3); \
}

Definition at line 12 of file product_mmtr.cpp.

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( product_mmtr  )

Definition at line 97 of file product_mmtr.cpp.

◆ mmtr()

template<typename Scalar >
void mmtr ( int  size)

Definition at line 28 of file product_mmtr.cpp.

diagonal
void diagonal(const MatrixType &m)
Definition: diagonal.cpp:12
Eigen::ZeroDiag
@ ZeroDiag
Definition: Constants.h:215
VERIFY_IS_APPROX
#define VERIFY_IS_APPROX(a, b)
Definition: integer_types.cpp:15
OP
#define OP(X)
Definition: gtsam/3rdparty/Eigen/blas/common.h:47


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