#include <MapBase.h>
Public Types | |
typedef MapBase< Derived, ReadOnlyAccessors > | Base |
typedef Base::Index | Index |
typedef Base::PacketScalar | PacketScalar |
typedef Base::PointerType | PointerType |
typedef Base::Scalar | Scalar |
typedef internal::conditional < internal::is_lvalue< Derived > ::value, Scalar, const Scalar > ::type | ScalarWithConstIfNotLvalue |
Public Member Functions | |
ScalarWithConstIfNotLvalue & | coeffRef (Index row, Index col) |
ScalarWithConstIfNotLvalue & | coeffRef (Index index) |
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 StoreMode> | |
void | writePacket (Index row, Index col, const PacketScalar &x) |
template<int StoreMode> | |
void | writePacket (Index index, const PacketScalar &x) |
typedef MapBase<Derived, ReadOnlyAccessors> MapBase< Derived, WriteAccessors >::Base |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
typedef Base::Index MapBase< Derived, WriteAccessors >::Index |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
typedef Base::PacketScalar MapBase< Derived, WriteAccessors >::PacketScalar |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
typedef Base::PointerType MapBase< Derived, WriteAccessors >::PointerType |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
typedef Base::Scalar MapBase< Derived, WriteAccessors >::Scalar |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
typedef internal::conditional< internal::is_lvalue<Derived>::value, Scalar, const Scalar >::type MapBase< Derived, WriteAccessors >::ScalarWithConstIfNotLvalue |
MapBase< Derived, WriteAccessors >::MapBase | ( | PointerType | data | ) | [inline, explicit] |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
MapBase< Derived, WriteAccessors >::MapBase | ( | PointerType | data, |
Index | size | ||
) | [inline] |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
MapBase< Derived, WriteAccessors >::MapBase | ( | PointerType | data, |
Index | rows, | ||
Index | cols | ||
) | [inline] |
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
ScalarWithConstIfNotLvalue& MapBase< Derived, WriteAccessors >::coeffRef | ( | Index | row, |
Index | col | ||
) | [inline] |
ScalarWithConstIfNotLvalue& MapBase< Derived, WriteAccessors >::coeffRef | ( | Index | index | ) | [inline] |
const Scalar* MapBase< Derived, WriteAccessors >::data | ( | ) | const [inline] |
Returns a pointer to the first coefficient of the matrix or vector.
Reimplemented from MapBase< Derived, ReadOnlyAccessors >.
ScalarWithConstIfNotLvalue* MapBase< Derived, WriteAccessors >::data | ( | ) | [inline] |
Derived& MapBase< Derived, WriteAccessors >::operator= | ( | const MapBase< Derived, WriteAccessors > & | other | ) | [inline] |
void MapBase< Derived, WriteAccessors >::writePacket | ( | Index | row, |
Index | col, | ||
const PacketScalar & | x | ||
) | [inline] |
void MapBase< Derived, WriteAccessors >::writePacket | ( | Index | index, |
const PacketScalar & | x | ||
) | [inline] |