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

Go to the source code of this file.

Macros

#define EIGEN_NO_STATIC_ASSERT
 
#define VERIFY_IMPLICIT_CONVERSION_3(DIAGTYPE, V0, V1, V2)
 
#define VERIFY_IMPLICIT_CONVERSION_4(DIAGTYPE, V0, V1, V2, V3)
 
#define VERIFY_IMPLICIT_CONVERSION_5(DIAGTYPE, V0, V1, V2, V3, V4)
 

Functions

template<typename Scalar >
void assertionTest ()
 
template<typename Scalar >
void constructorTest ()
 
template<>
void constructorTest< float > ()
 
 EIGEN_DECLARE_TEST (diagonal_matrix_variadic_ctor)
 

Macro Definition Documentation

◆ EIGEN_NO_STATIC_ASSERT

#define EIGEN_NO_STATIC_ASSERT

Definition at line 10 of file diagonal_matrix_variadic_ctor.cpp.

◆ VERIFY_IMPLICIT_CONVERSION_3

#define VERIFY_IMPLICIT_CONVERSION_3 (   DIAGTYPE,
  V0,
  V1,
  V2 
)
Value:
DIAGTYPE d(V0, V1, V2); \
DIAGTYPE::DenseMatrixType Dense = d.toDenseMatrix(); \
VERIFY_IS_APPROX(Dense(0, 0), (Scalar)V0); \
VERIFY_IS_APPROX(Dense(1, 1), (Scalar)V1); \
VERIFY_IS_APPROX(Dense(2, 2), (Scalar)V2);

Definition at line 36 of file diagonal_matrix_variadic_ctor.cpp.

◆ VERIFY_IMPLICIT_CONVERSION_4

#define VERIFY_IMPLICIT_CONVERSION_4 (   DIAGTYPE,
  V0,
  V1,
  V2,
  V3 
)
Value:
DIAGTYPE d(V0, V1, V2, V3); \
DIAGTYPE::DenseMatrixType Dense = d.toDenseMatrix(); \
VERIFY_IS_APPROX(Dense(0, 0), (Scalar)V0); \
VERIFY_IS_APPROX(Dense(1, 1), (Scalar)V1); \
VERIFY_IS_APPROX(Dense(2, 2), (Scalar)V2); \
VERIFY_IS_APPROX(Dense(3, 3), (Scalar)V3);

Definition at line 43 of file diagonal_matrix_variadic_ctor.cpp.

◆ VERIFY_IMPLICIT_CONVERSION_5

#define VERIFY_IMPLICIT_CONVERSION_5 (   DIAGTYPE,
  V0,
  V1,
  V2,
  V3,
  V4 
)
Value:
DIAGTYPE d(V0, V1, V2, V3, V4); \
DIAGTYPE::DenseMatrixType Dense = d.toDenseMatrix(); \
VERIFY_IS_APPROX(Dense(0, 0), (Scalar)V0); \
VERIFY_IS_APPROX(Dense(1, 1), (Scalar)V1); \
VERIFY_IS_APPROX(Dense(2, 2), (Scalar)V2); \
VERIFY_IS_APPROX(Dense(3, 3), (Scalar)V3); \
VERIFY_IS_APPROX(Dense(4, 4), (Scalar)V4);

Definition at line 51 of file diagonal_matrix_variadic_ctor.cpp.

Function Documentation

◆ assertionTest()

template<typename Scalar >
void assertionTest ( )

Definition at line 15 of file diagonal_matrix_variadic_ctor.cpp.

◆ constructorTest()

template<typename Scalar >
void constructorTest ( )

Definition at line 61 of file diagonal_matrix_variadic_ctor.cpp.

◆ constructorTest< float >()

template<>
void constructorTest< float > ( )

Definition at line 112 of file diagonal_matrix_variadic_ctor.cpp.

◆ EIGEN_DECLARE_TEST()

EIGEN_DECLARE_TEST ( diagonal_matrix_variadic_ctor  )

Definition at line 168 of file diagonal_matrix_variadic_ctor.cpp.

initial::V0
const Vector3 V0(0, 0, 0)
d
static const double d[K][N]
Definition: igam.h:11
Scalar
SCALAR Scalar
Definition: bench_gemm.cpp:46
Eigen::Dense
Definition: Constants.h:507


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