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.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:52