#include <MapBase.h>
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 Base::CoeffReturnType | CoeffReturnType |
typedef internal::traits < Derived >::Index | Index |
typedef internal::packet_traits < Scalar >::type | PacketScalar |
typedef internal::conditional < bool(internal::is_lvalue < Derived >::value), Scalar *, const Scalar * >::type | PointerType |
typedef NumTraits< Scalar >::Real | RealScalar |
typedef internal::traits < Derived >::Scalar | Scalar |
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 |
Index | cols () const |
const Scalar * | data () const |
MapBase (PointerType data) | |
MapBase (PointerType data, Index size) | |
MapBase (PointerType data, Index rows, Index cols) | |
template<int LoadMode> | |
PacketScalar | packet (Index row, Index col) const |
template<int LoadMode> | |
PacketScalar | packet (Index index) const |
Index | rows () const |
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 internal::dense_xpr_base<Derived>::type MapBase< Derived, ReadOnlyAccessors >::Base |
Reimplemented in MapBase< Derived, WriteAccessors >.
typedef Base::CoeffReturnType MapBase< Derived, ReadOnlyAccessors >::CoeffReturnType |
typedef internal::traits<Derived>::Index MapBase< Derived, ReadOnlyAccessors >::Index |
Reimplemented in MapBase< Derived, WriteAccessors >.
typedef internal::packet_traits<Scalar>::type MapBase< Derived, ReadOnlyAccessors >::PacketScalar |
Reimplemented in MapBase< Derived, WriteAccessors >.
typedef internal::conditional< bool(internal::is_lvalue<Derived>::value), Scalar *, const Scalar *>::type MapBase< Derived, ReadOnlyAccessors >::PointerType |
Reimplemented in MapBase< Derived, WriteAccessors >.
typedef NumTraits<Scalar>::Real MapBase< Derived, ReadOnlyAccessors >::RealScalar |
typedef internal::traits<Derived>::Scalar MapBase< Derived, ReadOnlyAccessors >::Scalar |
Reimplemented in MapBase< Derived, WriteAccessors >.
typedef internal::traits<Derived>::StorageKind MapBase< Derived, ReadOnlyAccessors >::StorageKind |
anonymous enum |
MapBase< Derived, ReadOnlyAccessors >::MapBase | ( | PointerType | data | ) | [inline] |
Reimplemented in MapBase< Derived, WriteAccessors >.
MapBase< Derived, ReadOnlyAccessors >::MapBase | ( | PointerType | data, |
Index | size | ||
) | [inline] |
Reimplemented in MapBase< Derived, WriteAccessors >.
MapBase< Derived, ReadOnlyAccessors >::MapBase | ( | PointerType | data, |
Index | rows, | ||
Index | cols | ||
) | [inline] |
Reimplemented in MapBase< Derived, WriteAccessors >.
void MapBase< Derived, ReadOnlyAccessors >::checkSanity | ( | ) | const [inline, protected] |
const Scalar& MapBase< Derived, ReadOnlyAccessors >::coeff | ( | Index | index | ) | const [inline] |
const Scalar& MapBase< Derived, ReadOnlyAccessors >::coeffRef | ( | Index | index | ) | const [inline] |
Index MapBase< Derived, ReadOnlyAccessors >::cols | ( | void | ) | const [inline] |
const Scalar* MapBase< Derived, ReadOnlyAccessors >::data | ( | ) | const [inline] |
Returns a pointer to the first coefficient of the matrix or vector.
Reimplemented in MapBase< Derived, WriteAccessors >.
PacketScalar MapBase< Derived, ReadOnlyAccessors >::packet | ( | Index | row, |
Index | col | ||
) | const [inline] |
PacketScalar MapBase< Derived, ReadOnlyAccessors >::packet | ( | Index | index | ) | const [inline] |
Index MapBase< Derived, ReadOnlyAccessors >::rows | ( | void | ) | const [inline] |
const internal::variable_if_dynamic<Index, ColsAtCompileTime> MapBase< Derived, ReadOnlyAccessors >::m_cols [protected] |
PointerType MapBase< Derived, ReadOnlyAccessors >::m_data [protected] |
const internal::variable_if_dynamic<Index, RowsAtCompileTime> MapBase< Derived, ReadOnlyAccessors >::m_rows [protected] |