Classes | Namespaces | Defines | Variables
SparseUtil.h File Reference

Go to the source code of this file.

Classes

struct  internal::eval< T, Sparse >
struct  internal::plain_matrix_type< T, Sparse >

Namespaces

namespace  internal

Defines

#define _EIGEN_SPARSE_PUBLIC_INTERFACE(Derived, BaseClass)
#define EIGEN_DBG_SPARSE(X)   X
#define EIGEN_SPARSE_INHERIT_ASSIGNMENT_OPERATOR(Derived, Op)
#define EIGEN_SPARSE_INHERIT_ASSIGNMENT_OPERATORS(Derived)
#define EIGEN_SPARSE_INHERIT_SCALAR_ASSIGNMENT_OPERATOR(Derived, Op)
#define EIGEN_SPARSE_PUBLIC_INTERFACE(Derived)   _EIGEN_SPARSE_PUBLIC_INTERFACE(Derived, Eigen::SparseMatrixBase<Derived>)

Variables

const int CoherentAccessPattern = 0x1
const int InnerRandomAccessPattern = 0x2 | CoherentAccessPattern
const int OuterRandomAccessPattern = 0x4 | CoherentAccessPattern
const int RandomAccessPattern = 0x8 | OuterRandomAccessPattern | InnerRandomAccessPattern

Define Documentation

#define _EIGEN_SPARSE_PUBLIC_INTERFACE (   Derived,
  BaseClass 
)
Value:
typedef BaseClass Base; \
  typedef typename Eigen::internal::traits<Derived>::Scalar Scalar; \
  typedef typename Eigen::NumTraits<Scalar>::Real RealScalar; \
  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, \
        IsVectorAtCompileTime = Base::IsVectorAtCompileTime }; \
  using Base::derived; \
  using Base::const_cast_derived;

Definition at line 59 of file SparseUtil.h.

#define EIGEN_DBG_SPARSE (   X)    X

Definition at line 31 of file SparseUtil.h.

#define EIGEN_SPARSE_INHERIT_ASSIGNMENT_OPERATOR (   Derived,
  Op 
)
Value:
template<typename OtherDerived> \
EIGEN_STRONG_INLINE Derived& operator Op(const Eigen::SparseMatrixBase<OtherDerived>& other) \
{ \
  return Base::operator Op(other.derived()); \
} \
EIGEN_STRONG_INLINE Derived& operator Op(const Derived& other) \
{ \
  return Base::operator Op(other); \
}

Definition at line 34 of file SparseUtil.h.

Value:
EIGEN_SPARSE_INHERIT_ASSIGNMENT_OPERATOR(Derived, =) \
EIGEN_SPARSE_INHERIT_ASSIGNMENT_OPERATOR(Derived, +=) \
EIGEN_SPARSE_INHERIT_ASSIGNMENT_OPERATOR(Derived, -=) \
EIGEN_SPARSE_INHERIT_SCALAR_ASSIGNMENT_OPERATOR(Derived, *=) \
EIGEN_SPARSE_INHERIT_SCALAR_ASSIGNMENT_OPERATOR(Derived, /=)

Definition at line 52 of file SparseUtil.h.

#define EIGEN_SPARSE_INHERIT_SCALAR_ASSIGNMENT_OPERATOR (   Derived,
  Op 
)
Value:
template<typename Other> \
EIGEN_STRONG_INLINE Derived& operator Op(const Other& scalar) \
{ \
  return Base::operator Op(scalar); \
}

Definition at line 45 of file SparseUtil.h.

#define EIGEN_SPARSE_PUBLIC_INTERFACE (   Derived)    _EIGEN_SPARSE_PUBLIC_INTERFACE(Derived, Eigen::SparseMatrixBase<Derived>)

Definition at line 75 of file SparseUtil.h.


Variable Documentation

const int CoherentAccessPattern = 0x1

Definition at line 78 of file SparseUtil.h.

const int InnerRandomAccessPattern = 0x2 | CoherentAccessPattern

Definition at line 79 of file SparseUtil.h.

const int OuterRandomAccessPattern = 0x4 | CoherentAccessPattern

Definition at line 80 of file SparseUtil.h.

const int RandomAccessPattern = 0x8 | OuterRandomAccessPattern | InnerRandomAccessPattern

Definition at line 81 of file SparseUtil.h.



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