#include <MapBase.h>
Public Types | |
enum | { RowsAtCompileTime, ColsAtCompileTime, SizeAtCompileTime } |
typedef MapBase< Derived, ReadOnlyAccessors > | Base |
typedef Base::CoeffReturnType | CoeffReturnType |
typedef Base::Index | Index |
typedef Base::PacketScalar | PacketScalar |
typedef Base::PointerType | PointerType |
typedef NumTraits< Scalar >::Real | RealScalar |
typedef Base::Scalar | Scalar |
typedef internal::conditional < internal::is_lvalue< Derived > ::value, Scalar, const Scalar > ::type | ScalarWithConstIfNotLvalue |
typedef internal::traits < Derived >::StorageKind | StorageKind |
Public Member Functions | |
const Scalar & | coeff (Index row, Index col) const |
const Scalar & | coeff (Index index) const |
const Scalar & | coeffRef (Index row, Index col) const |
const Scalar & | coeffRef (Index index) const |
ScalarWithConstIfNotLvalue & | coeffRef (Index row, Index col) |
ScalarWithConstIfNotLvalue & | coeffRef (Index index) |
Index | cols () const |
const Scalar * | data () const |
ScalarWithConstIfNotLvalue * | data () |
MapBase (PointerType data) | |
MapBase (PointerType data, Index size) | |
MapBase (PointerType data, Index rows, Index cols) | |
Derived & | operator= (const MapBase &other) |
template<int LoadMode> | |
PacketScalar | packet (Index row, Index col) const |
template<int LoadMode> | |
PacketScalar | packet (Index index) const |
Index | rows () const |
template<int StoreMode> | |
void | writePacket (Index row, Index col, const PacketScalar &x) |
template<int StoreMode> | |
void | writePacket (Index index, const PacketScalar &x) |
Protected Member Functions | |
void | checkSanity () const |
Protected Attributes | |
const internal::variable_if_dynamic < Index, ColsAtCompileTime > | m_cols |
PointerType | m_data |
const internal::variable_if_dynamic < Index, RowsAtCompileTime > | m_rows |
typedef MapBase<Derived, ReadOnlyAccessors> Base |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
typedef Base::CoeffReturnType CoeffReturnType [inherited] |
typedef Base::Index Index |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
typedef Base::PacketScalar PacketScalar |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
typedef Base::PointerType PointerType |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
typedef NumTraits<Scalar>::Real RealScalar [inherited] |
typedef Base::Scalar Scalar |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
typedef internal::conditional< internal::is_lvalue<Derived>::value, Scalar, const Scalar >::type ScalarWithConstIfNotLvalue |
typedef internal::traits<Derived>::StorageKind StorageKind [inherited] |
MapBase | ( | PointerType | data | ) | [inline, explicit] |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
MapBase | ( | PointerType | data, |
Index | size | ||
) | [inline] |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
MapBase | ( | PointerType | data, |
Index | rows, | ||
Index | cols | ||
) | [inline] |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
void checkSanity | ( | ) | const [inline, protected, inherited] |
References Eigen::AlignedBit, EIGEN_IMPLIES, EIGEN_STATIC_ASSERT, and Eigen::PacketAccessBit.
References EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS.
References EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS.
ScalarWithConstIfNotLvalue& coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
ScalarWithConstIfNotLvalue& coeffRef | ( | Index | index | ) | [inline] |
References EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS.
Returns a pointer to the first coefficient of the matrix or vector.
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
ScalarWithConstIfNotLvalue* data | ( | ) | [inline] |
Derived& operator= | ( | const MapBase< Derived, WriteAccessors > & | other | ) | [inline] |
PacketScalar packet | ( | Index | row, |
Index | col | ||
) | const [inline, inherited] |
PacketScalar packet | ( | Index | index | ) | const [inline, inherited] |
References EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS.
void writePacket | ( | Index | row, |
Index | col, | ||
const PacketScalar & | x | ||
) | [inline] |
void writePacket | ( | Index | index, |
const PacketScalar & | x | ||
) | [inline] |
References EIGEN_STATIC_ASSERT_INDEX_BASED_ACCESS.
const internal::variable_if_dynamic<Index, ColsAtCompileTime> m_cols [protected, inherited] |
PointerType m_data [protected, inherited] |
const internal::variable_if_dynamic<Index, RowsAtCompileTime> m_rows [protected, inherited] |