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

Go to the source code of this file.

Macros

#define VERIFY_TRSM(TRI, XB)
 
#define VERIFY_TRSM_ONTHERIGHT(TRI, XB)
 

Functions

 EIGEN_DECLARE_TEST (product_trsolve)
 
template<typename Scalar , int Size, int Cols>
void trsolve (int size=Size, int cols=Cols)
 

Macro Definition Documentation

◆ VERIFY_TRSM

#define VERIFY_TRSM (   TRI,
  XB 
)
Value:
{ \
(XB).setRandom(); ref = (XB); \
(TRI).solveInPlace(XB); \
VERIFY_IS_APPROX((TRI).toDenseMatrix() * (XB), ref); \
(XB).setRandom(); ref = (XB); \
(XB) = (TRI).solve(XB); \
VERIFY_IS_APPROX((TRI).toDenseMatrix() * (XB), ref); \
}
A setRandom()
Reference counting helper.
Definition: object.h:67

Definition at line 12 of file product_trsolve.cpp.

◆ VERIFY_TRSM_ONTHERIGHT

#define VERIFY_TRSM_ONTHERIGHT (   TRI,
  XB 
)
Value:
{ \
(XB).setRandom(); ref = (XB); \
(TRI).transpose().template solveInPlace<OnTheRight>(XB.transpose()); \
VERIFY_IS_APPROX((XB).transpose() * (TRI).transpose().toDenseMatrix(), ref.transpose()); \
(XB).setRandom(); ref = (XB); \
(XB).transpose() = (TRI).transpose().template solve<OnTheRight>(XB.transpose()); \
VERIFY_IS_APPROX((XB).transpose() * (TRI).transpose().toDenseMatrix(), ref.transpose()); \
}
A setRandom()
Reference counting helper.
Definition: object.h:67

Definition at line 21 of file product_trsolve.cpp.

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( product_trsolve  )

Definition at line 102 of file product_trsolve.cpp.

◆ trsolve()

template<typename Scalar , int Size, int Cols>
void trsolve ( int  size = Size,
int  cols = Cols 
)

Definition at line 30 of file product_trsolve.cpp.



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