Shapeworks Studio  2.1
Shape analysis software suite
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
Eigen::MapBase< Derived, ReadOnlyAccessors > Class Template Reference
+ Inheritance diagram for Eigen::MapBase< Derived, ReadOnlyAccessors >:
+ Collaboration diagram for Eigen::MapBase< Derived, ReadOnlyAccessors >:

Public Types

enum  { RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime, ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime, SizeAtCompileTime = Base::SizeAtCompileTime }
 
typedef internal::dense_xpr_base< Derived >::type Base
 
typedef internal::traits< Derived >::StorageKind StorageKind
 
typedef internal::traits< Derived >::Index Index
 
typedef internal::traits< Derived >::Scalar Scalar
 
typedef internal::packet_traits< Scalar >::type PacketScalar
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef internal::conditional< bool(internal::is_lvalue< Derived >::value), Scalar *, const Scalar * >::type PointerType
 
typedef Base::CoeffReturnType CoeffReturnType
 

Public Member Functions

Index rows () const
 
Index cols () const
 
const Scalar * data () const
 
const Scalar & coeff (Index rowId, Index colId) const
 
const Scalar & coeff (Index index) const
 
const Scalar & coeffRef (Index rowId, Index colId) const
 
const Scalar & coeffRef (Index index) const
 
template<int LoadMode>
PacketScalar packet (Index rowId, Index colId) const
 
template<int LoadMode>
PacketScalar packet (Index index) const
 
 MapBase (PointerType dataPtr)
 
 MapBase (PointerType dataPtr, Index vecSize)
 
 MapBase (PointerType dataPtr, Index nbRows, Index nbCols)
 

Protected Member Functions

void checkSanity () const
 

Protected Attributes

PointerType m_data
 
const internal::variable_if_dynamic< Index, RowsAtCompileTime > m_rows
 
const internal::variable_if_dynamic< Index, ColsAtCompileTime > m_cols
 

Detailed Description

template<typename Derived>
class Eigen::MapBase< Derived, ReadOnlyAccessors >

Definition at line 27 of file MapBase.h.

Member Function Documentation

template<typename Derived >
const Scalar* Eigen::MapBase< Derived, ReadOnlyAccessors >::data ( ) const
inline

Returns a pointer to the first coefficient of the matrix or vector.

Note
When addressing this data, make sure to honor the strides returned by innerStride() and outerStride().
See also
innerStride(), outerStride()

Definition at line 88 of file MapBase.h.

88 { return m_data; }

The documentation for this class was generated from the following file: