Namespaces | Macros
macros.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 corbo
 

Macros

#define corbo_CAT(a, b)   corbo_CAT_I(a, b)
 
#define corbo_CAT_I(a, b)   a##b
 
#define corbo_DEPRECATED
 
#define corbo_FORCE_INLINE   inline
 
#define corbo_STRINGIZE(text)   corbo_STRINGIZE_I(text)
 
#define corbo_STRINGIZE_I(text)   #text
 
#define EXPECT_EQ_MATRIX(A, B, tol)
 
#define EXPECT_NEQ_MATRIX(A, B, tol)
 
#define EXPECT_ZERO_MATRIX(A, tol)
 
#define static_if   if
 

Macro Definition Documentation

◆ corbo_CAT

#define corbo_CAT (   a,
  b 
)    corbo_CAT_I(a, b)

Definition at line 58 of file macros.h.

◆ corbo_CAT_I

#define corbo_CAT_I (   a,
  b 
)    a##b

Definition at line 57 of file macros.h.

◆ corbo_DEPRECATED

#define corbo_DEPRECATED

Definition at line 96 of file macros.h.

◆ corbo_FORCE_INLINE

#define corbo_FORCE_INLINE   inline

Definition at line 97 of file macros.h.

◆ corbo_STRINGIZE

#define corbo_STRINGIZE (   text)    corbo_STRINGIZE_I(text)

Definition at line 54 of file macros.h.

◆ corbo_STRINGIZE_I

#define corbo_STRINGIZE_I (   text)    #text

Definition at line 53 of file macros.h.

◆ EXPECT_EQ_MATRIX

#define EXPECT_EQ_MATRIX (   A,
  B,
  tol 
)
Value:
{ \
EXPECT_EQ((A).rows(), (B).rows()); \
EXPECT_EQ((A).cols(), (B).cols()); \
EXPECT_TRUE((A).isApprox(B, tol)) << corbo_STRINGIZE(A) ":\n" << A << "\n" << corbo_STRINGIZE(B) ":\n" << B << ". "; \
}

Definition at line 61 of file macros.h.

◆ EXPECT_NEQ_MATRIX

#define EXPECT_NEQ_MATRIX (   A,
  B,
  tol 
)
Value:
{ \
EXPECT_EQ((A).rows(), (B).rows()); \
EXPECT_EQ((A).cols(), (B).cols()); \
EXPECT_FALSE((A).isApprox(B, tol)) << corbo_STRINGIZE(A) ":\n" << A << "\n" << corbo_STRINGIZE(B) ":\n" << B << ". "; \
}

Definition at line 68 of file macros.h.

◆ EXPECT_ZERO_MATRIX

#define EXPECT_ZERO_MATRIX (   A,
  tol 
)
Value:
EXPECT_TRUE(A.isZero(tol)) << corbo_STRINGIZE(A) ":\n" \
<< A << "\n" \
<< ". "

Definition at line 75 of file macros.h.

◆ static_if

#define static_if   if

Definition at line 86 of file macros.h.

Eigen::internal::isApprox
EIGEN_DEVICE_FUNC bool isApprox(const Scalar &x, const Scalar &y, const typename NumTraits< Scalar >::Real &precision=NumTraits< Scalar >::dummy_precision())
Definition: Eigen/src/Core/MathFunctions.h:1361
B
MatrixType B(b, *n, *nrhs, *ldb)
A
MatrixType A(a, *n, *n, *lda)
corbo_STRINGIZE
#define corbo_STRINGIZE(text)
Definition: macros.h:54


control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:07:17