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

template<typename Scalar >
void mmtr (int size)
 
void test_product_mmtr ()
 

Macro Definition Documentation

#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); \
}
#define VERIFY_IS_APPROX(a, b)

Definition at line 12 of file product_mmtr.cpp.

Function Documentation

template<typename Scalar >
void mmtr ( int  size)

Definition at line 28 of file product_mmtr.cpp.

void test_product_mmtr ( )

Definition at line 87 of file product_mmtr.cpp.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:32