Classes | Namespaces | Macros
StaticAssert.h File Reference

Go to the source code of this file.

Classes

struct  Eigen::internal::static_assertion< condition >
 
struct  Eigen::internal::static_assertion< true >
 

Namespaces

 Eigen
 Namespace containing all symbols from the Eigen library.
 
 Eigen::internal
 

Macros

#define EIGEN_INTERNAL_CHECK_COST_VALUE(C)   EIGEN_STATIC_ASSERT((C)>=0 && (C)<=HugeCost*HugeCost, EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT__INVALID_COST_VALUE);
 
#define EIGEN_PREDICATE_SAME_MATRIX_SIZE(TYPE0, TYPE1)
 
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)   if (Eigen::internal::static_assertion<static_cast<bool>(CONDITION)>::MSG) {}
 
#define EIGEN_STATIC_ASSERT_ARRAYXPR(Derived)
 
#define EIGEN_STATIC_ASSERT_DYNAMIC_SIZE(TYPE)
 
#define EIGEN_STATIC_ASSERT_FIXED_SIZE(TYPE)
 
#define EIGEN_STATIC_ASSERT_LVALUE(Derived)
 
#define EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE(TYPE, ROWS, COLS)
 
#define EIGEN_STATIC_ASSERT_NON_INTEGER(TYPE)   EIGEN_STATIC_ASSERT(!Eigen::NumTraits<TYPE>::IsInteger, THIS_FUNCTION_IS_NOT_FOR_INTEGER_NUMERIC_TYPES)
 
#define EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE(TYPE0, TYPE1)
 
#define EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE(TYPE0, TYPE1)
 
#define EIGEN_STATIC_ASSERT_SAME_XPR_KIND(Derived1, Derived2)
 
#define EIGEN_STATIC_ASSERT_SIZE_1x1(TYPE)
 
#define EIGEN_STATIC_ASSERT_VECTOR_ONLY(TYPE)
 
#define EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(TYPE, SIZE)
 

Macro Definition Documentation

◆ EIGEN_INTERNAL_CHECK_COST_VALUE

#define EIGEN_INTERNAL_CHECK_COST_VALUE (   C)    EIGEN_STATIC_ASSERT((C)>=0 && (C)<=HugeCost*HugeCost, EIGEN_INTERNAL_ERROR_PLEASE_FILE_A_BUG_REPORT__INVALID_COST_VALUE);

Definition at line 218 of file StaticAssert.h.

◆ EIGEN_PREDICATE_SAME_MATRIX_SIZE

#define EIGEN_PREDICATE_SAME_MATRIX_SIZE (   TYPE0,
  TYPE1 
)
Value:
( \
|| (\
(int(TYPE0::RowsAtCompileTime)==Eigen::Dynamic \
|| int(TYPE1::RowsAtCompileTime)==Eigen::Dynamic \
|| int(TYPE0::RowsAtCompileTime)==int(TYPE1::RowsAtCompileTime)) \
&& (int(TYPE0::ColsAtCompileTime)==Eigen::Dynamic \
|| int(TYPE1::ColsAtCompileTime)==Eigen::Dynamic \
|| int(TYPE0::ColsAtCompileTime)==int(TYPE1::ColsAtCompileTime))\
) \
)
const int Dynamic
Definition: Constants.h:22

Definition at line 174 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT

#define EIGEN_STATIC_ASSERT (   CONDITION,
  MSG 
)    if (Eigen::internal::static_assertion<static_cast<bool>(CONDITION)>::MSG) {}

Definition at line 127 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_ARRAYXPR

#define EIGEN_STATIC_ASSERT_ARRAYXPR (   Derived)
Value:
THIS_METHOD_IS_ONLY_FOR_ARRAYS_NOT_MATRICES)
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127

Definition at line 206 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_DYNAMIC_SIZE

#define EIGEN_STATIC_ASSERT_DYNAMIC_SIZE (   TYPE)
Value:
EIGEN_STATIC_ASSERT(TYPE::SizeAtCompileTime==Eigen::Dynamic, \
YOU_CALLED_A_DYNAMIC_SIZE_METHOD_ON_A_FIXED_SIZE_MATRIX_OR_VECTOR)
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127
const int Dynamic
Definition: Constants.h:22

Definition at line 152 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_FIXED_SIZE

#define EIGEN_STATIC_ASSERT_FIXED_SIZE (   TYPE)
Value:
EIGEN_STATIC_ASSERT(TYPE::SizeAtCompileTime!=Eigen::Dynamic, \
YOU_CALLED_A_FIXED_SIZE_METHOD_ON_A_DYNAMIC_SIZE_MATRIX_OR_VECTOR)
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127
const int Dynamic
Definition: Constants.h:22

Definition at line 147 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_LVALUE

#define EIGEN_STATIC_ASSERT_LVALUE (   Derived)
Value:
THIS_EXPRESSION_IS_NOT_A_LVALUE__IT_IS_READ_ONLY)
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127

Definition at line 202 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE

#define EIGEN_STATIC_ASSERT_MATRIX_SPECIFIC_SIZE (   TYPE,
  ROWS,
  COLS 
)
Value:
EIGEN_STATIC_ASSERT(TYPE::RowsAtCompileTime==ROWS && TYPE::ColsAtCompileTime==COLS, \
THIS_METHOD_IS_ONLY_FOR_MATRICES_OF_A_SPECIFIC_SIZE)
#define ROWS
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127
#define COLS

Definition at line 162 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_NON_INTEGER

#define EIGEN_STATIC_ASSERT_NON_INTEGER (   TYPE)    EIGEN_STATIC_ASSERT(!Eigen::NumTraits<TYPE>::IsInteger, THIS_FUNCTION_IS_NOT_FOR_INTEGER_NUMERIC_TYPES)

Definition at line 187 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE

#define EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE (   TYPE0,
  TYPE1 
)
Value:
YOU_MIXED_MATRICES_OF_DIFFERENT_SIZES)
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127
#define EIGEN_PREDICATE_SAME_MATRIX_SIZE(TYPE0, TYPE1)
Definition: StaticAssert.h:174

Definition at line 192 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE

#define EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE (   TYPE0,
  TYPE1 
)
Value:
(int(TYPE0::SizeAtCompileTime)==Eigen::Dynamic \
|| int(TYPE1::SizeAtCompileTime)==Eigen::Dynamic \
|| int(TYPE0::SizeAtCompileTime)==int(TYPE1::SizeAtCompileTime)),\
YOU_MIXED_VECTORS_OF_DIFFERENT_SIZES)
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127
const int Dynamic
Definition: Constants.h:22

Definition at line 167 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_SAME_XPR_KIND

#define EIGEN_STATIC_ASSERT_SAME_XPR_KIND (   Derived1,
  Derived2 
)
Value:

Definition at line 210 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_SIZE_1x1

#define EIGEN_STATIC_ASSERT_SIZE_1x1 (   TYPE)
Value:
EIGEN_STATIC_ASSERT((TYPE::RowsAtCompileTime == 1 || TYPE::RowsAtCompileTime == Eigen::Dynamic) && \
(TYPE::ColsAtCompileTime == 1 || TYPE::ColsAtCompileTime == Eigen::Dynamic), \
THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS)
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127
const int Dynamic
Definition: Constants.h:22

Definition at line 197 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_VECTOR_ONLY

#define EIGEN_STATIC_ASSERT_VECTOR_ONLY (   TYPE)
Value:
EIGEN_STATIC_ASSERT(TYPE::IsVectorAtCompileTime, \
YOU_TRIED_CALLING_A_VECTOR_METHOD_ON_A_MATRIX)
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127

Definition at line 142 of file StaticAssert.h.

◆ EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE

#define EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE (   TYPE,
  SIZE 
)
Value:
EIGEN_STATIC_ASSERT(TYPE::IsVectorAtCompileTime && TYPE::SizeAtCompileTime==SIZE, \
THIS_METHOD_IS_ONLY_FOR_VECTORS_OF_A_SPECIFIC_SIZE)
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)
Definition: StaticAssert.h:127
#define SIZE

Definition at line 157 of file StaticAssert.h.



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