Classes | Namespaces | Defines
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

namespace  Eigen
 

iterative scaling algorithm to equilibrate rows and column norms in matrices


namespace  Eigen::internal

Defines

#define EIGEN_PREDICATE_SAME_MATRIX_SIZE(TYPE0, TYPE1)
#define EIGEN_STATIC_ASSERT(CONDITION, MSG)   if (Eigen::internal::static_assertion<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(!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)

Define Documentation

#define EIGEN_PREDICATE_SAME_MATRIX_SIZE (   TYPE0,
  TYPE1 
)
Value:
( \
        (int(TYPE0::SizeAtCompileTime)==0 && int(TYPE1::SizeAtCompileTime)==0) \
    || (\
          (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))\
       ) \
     )

Definition at line 158 of file StaticAssert.h.

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

Definition at line 111 of file StaticAssert.h.

#define EIGEN_STATIC_ASSERT_ARRAYXPR (   Derived)
Value:
EIGEN_STATIC_ASSERT((internal::is_same<typename internal::traits<Derived>::XprKind, ArrayXpr>::value), \
                          THIS_METHOD_IS_ONLY_FOR_ARRAYS_NOT_MATRICES)

Definition at line 195 of file StaticAssert.h.

Value:
EIGEN_STATIC_ASSERT(TYPE::SizeAtCompileTime==Eigen::Dynamic, \
                      YOU_CALLED_A_DYNAMIC_SIZE_METHOD_ON_A_FIXED_SIZE_MATRIX_OR_VECTOR)

Definition at line 136 of file StaticAssert.h.

#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)

Definition at line 131 of file StaticAssert.h.

#define EIGEN_STATIC_ASSERT_LVALUE (   Derived)
Value:
EIGEN_STATIC_ASSERT(internal::is_lvalue<Derived>::value, \
                          THIS_EXPRESSION_IS_NOT_A_LVALUE__IT_IS_READ_ONLY)

Definition at line 191 of file StaticAssert.h.

#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)

Definition at line 146 of file StaticAssert.h.

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

Definition at line 175 of file StaticAssert.h.

#define EIGEN_STATIC_ASSERT_SAME_MATRIX_SIZE (   TYPE0,
  TYPE1 
)
Value:
EIGEN_STATIC_ASSERT( \
     EIGEN_PREDICATE_SAME_MATRIX_SIZE(TYPE0,TYPE1),\
    YOU_MIXED_MATRICES_OF_DIFFERENT_SIZES)

Definition at line 181 of file StaticAssert.h.

#define EIGEN_STATIC_ASSERT_SAME_VECTOR_SIZE (   TYPE0,
  TYPE1 
)
Value:
EIGEN_STATIC_ASSERT( \
      (int(TYPE0::SizeAtCompileTime)==Eigen::Dynamic \
    || int(TYPE1::SizeAtCompileTime)==Eigen::Dynamic \
    || int(TYPE0::SizeAtCompileTime)==int(TYPE1::SizeAtCompileTime)),\
    YOU_MIXED_VECTORS_OF_DIFFERENT_SIZES)

Definition at line 151 of file StaticAssert.h.

#define EIGEN_STATIC_ASSERT_SAME_XPR_KIND (   Derived1,
  Derived2 
)
Value:
EIGEN_STATIC_ASSERT((internal::is_same<typename internal::traits<Derived1>::XprKind, \
                                             typename internal::traits<Derived2>::XprKind \
                                            >::value), \
                          YOU_CANNOT_MIX_ARRAYS_AND_MATRICES)

Definition at line 199 of file StaticAssert.h.

#define EIGEN_STATIC_ASSERT_SIZE_1x1 (   TYPE)
Value:
EIGEN_STATIC_ASSERT((TYPE::RowsAtCompileTime == 1 || TYPE::RowsAtCompileTime == Dynamic) && \
                          (TYPE::ColsAtCompileTime == 1 || TYPE::ColsAtCompileTime == Dynamic), \
                          THIS_METHOD_IS_ONLY_FOR_1x1_EXPRESSIONS)

Definition at line 186 of file StaticAssert.h.

#define EIGEN_STATIC_ASSERT_VECTOR_ONLY (   TYPE)
Value:
EIGEN_STATIC_ASSERT(TYPE::IsVectorAtCompileTime, \
                      YOU_TRIED_CALLING_A_VECTOR_METHOD_ON_A_MATRIX)

Definition at line 126 of file StaticAssert.h.

#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)

Definition at line 141 of file StaticAssert.h.



acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Sat Jun 8 2019 19:40:22