TR-mbed 1.0
Loading...
Searching...
No Matches
Classes | Macros | Functions
matrix_function.cpp File Reference
#include "main.h"
#include <unsupported/Eigen/MatrixFunctions>

Classes

struct  randomMatrixWithImagEivals< MatrixType, IsComplex >
 
struct  randomMatrixWithImagEivals< MatrixType, 0 >
 
struct  randomMatrixWithImagEivals< MatrixType, 1 >
 

Macros

#define VERIFY_IS_APPROX_ABS(a, b)   VERIFY(test_isApprox_abs(a, b))
 

Functions

template<typename Type1 , typename Type2 >
bool test_isApprox_abs (const Type1 &a, const Type2 &b)
 
template<typename MatrixType >
MatrixType randomMatrixWithRealEivals (const Index size)
 
template<typename MatrixType >
void testMatrixExponential (const MatrixType &A)
 
template<typename MatrixType >
void testMatrixLogarithm (const MatrixType &A)
 
template<typename MatrixType >
void testHyperbolicFunctions (const MatrixType &A)
 
template<typename MatrixType >
void testGonioFunctions (const MatrixType &A)
 
template<typename MatrixType >
void testMatrix (const MatrixType &A)
 
template<typename MatrixType >
void testMatrixType (const MatrixType &m)
 
template<typename MatrixType >
void testMapRef (const MatrixType &A)
 
 EIGEN_DECLARE_TEST (matrix_function)
 

Macro Definition Documentation

◆ VERIFY_IS_APPROX_ABS

#define VERIFY_IS_APPROX_ABS (   a,
  b 
)    VERIFY(test_isApprox_abs(a, b))

Function Documentation

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( matrix_function  )

◆ randomMatrixWithRealEivals()

template<typename MatrixType >
MatrixType randomMatrixWithRealEivals ( const Index  size)

◆ test_isApprox_abs()

template<typename Type1 , typename Type2 >
bool test_isApprox_abs ( const Type1 &  a,
const Type2 &  b 
)
inline

◆ testGonioFunctions()

template<typename MatrixType >
void testGonioFunctions ( const MatrixType A)

◆ testHyperbolicFunctions()

template<typename MatrixType >
void testHyperbolicFunctions ( const MatrixType A)

◆ testMapRef()

template<typename MatrixType >
void testMapRef ( const MatrixType A)

◆ testMatrix()

template<typename MatrixType >
void testMatrix ( const MatrixType A)

◆ testMatrixExponential()

template<typename MatrixType >
void testMatrixExponential ( const MatrixType A)

◆ testMatrixLogarithm()

template<typename MatrixType >
void testMatrixLogarithm ( const MatrixType A)

◆ testMatrixType()

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