Namespaces | Defines | Functions
Macros.h File Reference

Go to the source code of this file.

Namespaces

namespace  Eigen
namespace  Eigen::internal

Defines

#define EIGEN_ALIGN   1
#define EIGEN_ALIGN16   EIGEN_ALIGN_TO_BOUNDARY(16)
#define EIGEN_ALIGN_STATICALLY   1
#define EIGEN_ALWAYS_INLINE_ATTRIB
#define EIGEN_ARCH_WANTS_STACK_ALIGNMENT   1
#define EIGEN_ASM_COMMENT(X)
#define EIGEN_CAT(a, b)   EIGEN_CAT2(a,b)
#define EIGEN_CAT2(a, b)   a ## b
#define EIGEN_CWISE_PRODUCT_RETURN_TYPE(LHS, RHS)
#define EIGEN_DEBUG_VAR(x)   std::cerr << #x << " = " << x << std::endl;
#define EIGEN_DECLARE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS
#define EIGEN_DEFAULT_MATRIX_STORAGE_ORDER_OPTION   ColMajor
#define EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS   inline
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
#define EIGEN_DEPRECATED
#define EIGEN_DONT_INLINE
#define EIGEN_EMPTY
#define EIGEN_FLATTEN_ATTRIB
#define EIGEN_GCC3_OR_OLDER   0
#define EIGEN_GCC_AND_ARCH_DOESNT_WANT_STACK_ALIGNMENT   0
#define EIGEN_GENERIC_PUBLIC_INTERFACE(Derived)
#define EIGEN_GNUC_AT_LEAST(x, y)   0
#define EIGEN_GNUC_AT_MOST(x, y)   0
#define EIGEN_IMPLIES(a, b)   (!(a) || (b))
#define EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
#define EIGEN_INHERIT_ASSIGNMENT_OPERATORS(Derived)   EIGEN_INHERIT_ASSIGNMENT_EQUAL_OPERATOR(Derived)
#define eigen_internal_assert(x)
#define EIGEN_LOGICAL_XOR(a, b)   (((a) || (b)) && !((a) && (b)))
#define EIGEN_MAJOR_VERSION   0
#define EIGEN_MAKE_CWISE_BINARY_OP(METHOD, FUNCTOR)
#define EIGEN_MAKESTRING(a)   EIGEN_MAKESTRING2(a)
#define EIGEN_MAKESTRING2(a)   #a
#define EIGEN_MINOR_VERSION   1
#define EIGEN_ONLY_USED_FOR_DEBUG(x)
#define eigen_plain_assert(x)   assert(x)
#define EIGEN_PLAIN_ENUM_MAX(a, b)   (((int)a >= (int)b) ? (int)a : (int)b)
#define EIGEN_PLAIN_ENUM_MIN(a, b)   (((int)a <= (int)b) ? (int)a : (int)b)
#define EIGEN_SAFE_TO_USE_STANDARD_ASSERT_MACRO   1
#define EIGEN_SIZE_MAX(a, b)
#define EIGEN_SIZE_MIN_PREFER_DYNAMIC(a, b)
#define EIGEN_SIZE_MIN_PREFER_FIXED(a, b)
#define EIGEN_STRONG_INLINE   inline
#define EIGEN_UNUSED
#define EIGEN_UNUSED_VARIABLE(var)   (void)var;
#define EIGEN_USER_ALIGN16   EIGEN_ALIGN16
#define EIGEN_USER_ALIGN_TO_BOUNDARY(n)   EIGEN_ALIGN_TO_BOUNDARY(n)
#define EIGEN_VERSION_AT_LEAST(x, y, z)
#define EIGEN_WORLD_VERSION   3

Functions

bool Eigen::internal::copy_bool (bool b)

Define Documentation

#define EIGEN_ALIGN   1

Definition at line 90 of file Core/util/Macros.h.

#define EIGEN_ALIGN16   EIGEN_ALIGN_TO_BOUNDARY(16)

Definition at line 275 of file Core/util/Macros.h.

#define EIGEN_ALIGN_STATICALLY   1

Definition at line 96 of file Core/util/Macros.h.

Definition at line 142 of file Core/util/Macros.h.

Definition at line 79 of file Core/util/Macros.h.

#define EIGEN_ASM_COMMENT (   X)

Definition at line 254 of file Core/util/Macros.h.

#define EIGEN_CAT (   a,
  b 
)    EIGEN_CAT2(a,b)

Definition at line 127 of file Core/util/Macros.h.

#define EIGEN_CAT2 (   a,
  b 
)    a ## b

Definition at line 126 of file Core/util/Macros.h.

#define EIGEN_CWISE_PRODUCT_RETURN_TYPE (   LHS,
  RHS 
)
Value:
CwiseBinaryOp< \
      internal::scalar_product_op< \
          typename internal::traits<LHS>::Scalar, \
          typename internal::traits<RHS>::Scalar \
      >, \
      const LHS, \
      const RHS \
    >

Definition at line 408 of file Core/util/Macros.h.

#define EIGEN_DEBUG_VAR (   x)    std::cerr << #x << " = " << x << std::endl;

Allows to disable some optimizations which might affect the accuracy of the result. Such optimization are enabled by default, and set EIGEN_FAST_MATH to 0 to disable them. They currently include:

  • single precision Cwise::sin() and Cwise::cos() when SSE vectorization is enabled.

Definition at line 123 of file Core/util/Macros.h.

Definition at line 170 of file Core/util/Macros.h.

Definition at line 107 of file Core/util/Macros.h.

Definition at line 171 of file Core/util/Macros.h.

#define EIGEN_DENSE_PUBLIC_INTERFACE (   Derived)
Value:
typedef typename Eigen::internal::traits<Derived>::Scalar Scalar;  \
  typedef typename Eigen::NumTraits<Scalar>::Real RealScalar;  \
  typedef typename Base::PacketScalar PacketScalar; \
  typedef typename Base::CoeffReturnType CoeffReturnType;  \
  typedef typename Eigen::internal::nested<Derived>::type Nested; \
  typedef typename Eigen::internal::traits<Derived>::StorageKind StorageKind; \
  typedef typename Eigen::internal::traits<Derived>::Index Index; \
  enum { RowsAtCompileTime = Eigen::internal::traits<Derived>::RowsAtCompileTime, \
        ColsAtCompileTime = Eigen::internal::traits<Derived>::ColsAtCompileTime, \
        MaxRowsAtCompileTime = Eigen::internal::traits<Derived>::MaxRowsAtCompileTime, \
        MaxColsAtCompileTime = Eigen::internal::traits<Derived>::MaxColsAtCompileTime, \
        Flags = Eigen::internal::traits<Derived>::Flags, \
        CoeffReadCost = Eigen::internal::traits<Derived>::CoeffReadCost, \
        SizeAtCompileTime = Base::SizeAtCompileTime, \
        MaxSizeAtCompileTime = Base::MaxSizeAtCompileTime, \
        IsVectorAtCompileTime = Base::IsVectorAtCompileTime }; \
  using Base::derived; \
  using Base::const_cast_derived;

Definition at line 349 of file Core/util/Macros.h.

Definition at line 239 of file Core/util/Macros.h.

Definition at line 163 of file Core/util/Macros.h.

#define EIGEN_EMPTY

Definition at line 307 of file Core/util/Macros.h.

Definition at line 148 of file Core/util/Macros.h.

#define EIGEN_GCC3_OR_OLDER   0

Definition at line 58 of file Core/util/Macros.h.

Definition at line 71 of file Core/util/Macros.h.

#define EIGEN_GENERIC_PUBLIC_INTERFACE (   Derived)
Value:
typedef typename Eigen::internal::traits<Derived>::Scalar Scalar;  \
  typedef typename Eigen::NumTraits<Scalar>::Real RealScalar;  \
  typedef typename Base::CoeffReturnType CoeffReturnType;  \
  typedef typename Eigen::internal::nested<Derived>::type Nested; \
  typedef typename Eigen::internal::traits<Derived>::StorageKind StorageKind; \
  typedef typename Eigen::internal::traits<Derived>::Index Index; \
  enum { RowsAtCompileTime = Eigen::internal::traits<Derived>::RowsAtCompileTime, \
        ColsAtCompileTime = Eigen::internal::traits<Derived>::ColsAtCompileTime, \
        Flags = Eigen::internal::traits<Derived>::Flags, \
        CoeffReadCost = Eigen::internal::traits<Derived>::CoeffReadCost, \
        SizeAtCompileTime = Base::SizeAtCompileTime, \
        MaxSizeAtCompileTime = Base::MaxSizeAtCompileTime, \
        IsVectorAtCompileTime = Base::IsVectorAtCompileTime };

Just a side note. Commenting within defines works only by documenting behind the object (via '!<'). Comments cannot be multi-line and thus we have these extra long lines. What is confusing doxygen over here is that we use '\' and basically have a bunch of typedefs with their documentation in a single line.

Definition at line 333 of file Core/util/Macros.h.

#define EIGEN_GNUC_AT_LEAST (   x,
  y 
)    0

Definition at line 39 of file Core/util/Macros.h.

#define EIGEN_GNUC_AT_MOST (   x,
  y 
)    0

Definition at line 45 of file Core/util/Macros.h.

#define EIGEN_IMPLIES (   a,
  b 
)    (!(a) || (b))

Definition at line 397 of file Core/util/Macros.h.

Value:
using Base::operator =; \
  EIGEN_STRONG_INLINE Derived& operator=(const Derived& other) \
  { \
    Base::operator=(other); \
    return *this; \
  }

Definition at line 313 of file Core/util/Macros.h.

Definition at line 322 of file Core/util/Macros.h.

#define eigen_internal_assert (   x)

Definition at line 225 of file Core/util/Macros.h.

#define EIGEN_LOGICAL_XOR (   a,
  b 
)    (((a) || (b)) && !((a) && (b)))

Definition at line 395 of file Core/util/Macros.h.

#define EIGEN_MAJOR_VERSION   0

Definition at line 30 of file Core/util/Macros.h.

#define EIGEN_MAKE_CWISE_BINARY_OP (   METHOD,
  FUNCTOR 
)
Value:
template<typename OtherDerived> \
  EIGEN_STRONG_INLINE const CwiseBinaryOp<FUNCTOR<Scalar>, const Derived, const OtherDerived> \
  METHOD(const EIGEN_CURRENT_STORAGE_BASE_CLASS<OtherDerived> &other) const \
  { \
    return CwiseBinaryOp<FUNCTOR<Scalar>, const Derived, const OtherDerived>(derived(), other.derived()); \
  }

Definition at line 399 of file Core/util/Macros.h.

#define EIGEN_MAKESTRING (   a)    EIGEN_MAKESTRING2(a)

Definition at line 131 of file Core/util/Macros.h.

#define EIGEN_MAKESTRING2 (   a)    #a

Definition at line 130 of file Core/util/Macros.h.

#define EIGEN_MINOR_VERSION   1

Definition at line 31 of file Core/util/Macros.h.

Definition at line 231 of file Core/util/Macros.h.

#define eigen_plain_assert (   x)    assert(x)

Definition at line 189 of file Core/util/Macros.h.

#define EIGEN_PLAIN_ENUM_MAX (   a,
  b 
)    (((int)a >= (int)b) ? (int)a : (int)b)

Definition at line 371 of file Core/util/Macros.h.

#define EIGEN_PLAIN_ENUM_MIN (   a,
  b 
)    (((int)a <= (int)b) ? (int)a : (int)b)

Definition at line 370 of file Core/util/Macros.h.

Definition at line 52 of file Core/util/Macros.h.

#define EIGEN_SIZE_MAX (   a,
  b 
)
Value:
(((int)a == Dynamic || (int)b == Dynamic) ? Dynamic \
                           : ((int)a >= (int)b) ? (int)a : (int)b)

Definition at line 392 of file Core/util/Macros.h.

#define EIGEN_SIZE_MIN_PREFER_DYNAMIC (   a,
  b 
)
Value:
(((int)a == 0 || (int)b == 0) ? 0 \
                           : ((int)a == 1 || (int)b == 1) ? 1 \
                           : ((int)a == Dynamic || (int)b == Dynamic) ? Dynamic \
                           : ((int)a <= (int)b) ? (int)a : (int)b)

Definition at line 376 of file Core/util/Macros.h.

#define EIGEN_SIZE_MIN_PREFER_FIXED (   a,
  b 
)
Value:
(((int)a == 0 || (int)b == 0) ? 0 \
                           : ((int)a == 1 || (int)b == 1) ? 1 \
                           : ((int)a == Dynamic && (int)b == Dynamic) ? Dynamic \
                           : ((int)a == Dynamic) ? (int)b \
                           : ((int)b == Dynamic) ? (int)a \
                           : ((int)a <= (int)b) ? (int)a : (int)b)

Definition at line 384 of file Core/util/Macros.h.

#define EIGEN_STRONG_INLINE   inline

Definition at line 155 of file Core/util/Macros.h.

#define EIGEN_UNUSED

Definition at line 245 of file Core/util/Macros.h.

#define EIGEN_UNUSED_VARIABLE (   var)    (void)var;

Definition at line 249 of file Core/util/Macros.h.

Definition at line 279 of file Core/util/Macros.h.

#define EIGEN_USER_ALIGN_TO_BOUNDARY (   n)    EIGEN_ALIGN_TO_BOUNDARY(n)

Definition at line 278 of file Core/util/Macros.h.

#define EIGEN_VERSION_AT_LEAST (   x,
  y,
 
)
Value:
(EIGEN_WORLD_VERSION>x || (EIGEN_WORLD_VERSION>=x && \
                                      (EIGEN_MAJOR_VERSION>y || (EIGEN_MAJOR_VERSION>=y && \
                                                                 EIGEN_MINOR_VERSION>=z))))

Definition at line 33 of file Core/util/Macros.h.

#define EIGEN_WORLD_VERSION   3

Definition at line 29 of file Core/util/Macros.h.



re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:33:46