Base class for non-const dense Map and Block expression with direct access. More...
#include <MapBase.h>
Public Types | |
typedef MapBase< Derived, ReadOnlyAccessors > | Base |
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 |
typedef Base::StorageIndex | StorageIndex |
Public Types inherited from Eigen::MapBase< Derived, ReadOnlyAccessors > | |
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::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 | |
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvalue & | coeffRef (Index row, Index col) |
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvalue & | coeffRef (Index index) |
EIGEN_DEVICE_FUNC const Scalar * | data () const |
EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvalue * | data () |
EIGEN_DEVICE_FUNC | MapBase (PointerType dataPtr) |
EIGEN_DEVICE_FUNC | MapBase (PointerType dataPtr, Index vecSize) |
EIGEN_DEVICE_FUNC | MapBase (PointerType dataPtr, Index rows, Index cols) |
EIGEN_DEVICE_FUNC Derived & | operator= (const MapBase &other) |
template<int StoreMode> | |
void | writePacket (Index row, Index col, const PacketScalar &val) |
template<int StoreMode> | |
void | writePacket (Index index, const PacketScalar &val) |
Public Member Functions inherited from Eigen::MapBase< Derived, ReadOnlyAccessors > | |
EIGEN_DEVICE_FUNC const Scalar & | coeff (Index rowId, Index colId) const |
EIGEN_DEVICE_FUNC const Scalar & | coeff (Index index) const |
EIGEN_DEVICE_FUNC const Scalar & | coeffRef (Index rowId, Index colId) const |
EIGEN_DEVICE_FUNC const Scalar & | coeffRef (Index index) const |
EIGEN_DEVICE_FUNC Index | cols () const |
EIGEN_DEVICE_FUNC const Scalar * | data () const |
EIGEN_DEVICE_FUNC | MapBase (PointerType dataPtr) |
EIGEN_DEVICE_FUNC | MapBase (PointerType dataPtr, Index vecSize) |
EIGEN_DEVICE_FUNC | MapBase (PointerType dataPtr, Index rows, Index cols) |
template<int LoadMode> | |
PacketScalar | packet (Index rowId, Index colId) const |
template<int LoadMode> | |
PacketScalar | packet (Index index) const |
EIGEN_DEVICE_FUNC Index | rows () const |
Private Types | |
typedef MapBase< Derived, ReadOnlyAccessors > | ReadOnlyMapBase |
Additional Inherited Members | |
Protected Member Functions inherited from Eigen::MapBase< Derived, ReadOnlyAccessors > | |
template<typename T > | |
EIGEN_DEVICE_FUNC void | checkSanity (typename internal::enable_if<(internal::traits< T >::Alignment >0), void * >::type=0) const |
template<typename T > | |
EIGEN_DEVICE_FUNC void | checkSanity (typename internal::enable_if< internal::traits< T >::Alignment==0, void * >::type=0) const |
Protected Attributes inherited from Eigen::MapBase< Derived, ReadOnlyAccessors > | |
const internal::variable_if_dynamic< Index, ColsAtCompileTime > | m_cols |
PointerType | m_data |
const internal::variable_if_dynamic< Index, RowsAtCompileTime > | m_rows |
Base class for non-const dense Map and Block expression with direct access.
This base class provides the non-const low-level accessors (e.g. coeff and coeffRef) of dense Map and Block objects with direct access. It inherits MapBase<Derived, ReadOnlyAccessors> which defines the const variant for reading specific entries.
typedef MapBase<Derived, ReadOnlyAccessors> Eigen::MapBase< Derived, WriteAccessors >::Base |
typedef Base::PacketScalar Eigen::MapBase< Derived, WriteAccessors >::PacketScalar |
typedef Base::PointerType Eigen::MapBase< Derived, WriteAccessors >::PointerType |
|
private |
typedef Base::Scalar Eigen::MapBase< Derived, WriteAccessors >::Scalar |
typedef internal::conditional< internal::is_lvalue<Derived>::value, Scalar, const Scalar >::type Eigen::MapBase< Derived, WriteAccessors >::ScalarWithConstIfNotLvalue |
typedef Base::StorageIndex Eigen::MapBase< Derived, WriteAccessors >::StorageIndex |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |