|
| enum | { RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime
, ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime
, InnerStrideAtCompileTime = internal::traits<Derived>::InnerStrideAtCompileTime
, SizeAtCompileTime = Base::SizeAtCompileTime
} |
| |
|
typedef internal::dense_xpr_base< Derived >::type | Base |
| |
|
typedef internal::traits< Derived >::StorageKind | StorageKind |
| |
|
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 *, constScalar * >::type | PointerType |
| |
|
typedef Base::CoeffReturnType | CoeffReturnType |
| |
|
| EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | rows () const EIGEN_NOEXCEPT |
| |
| EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | cols () const EIGEN_NOEXCEPT |
| |
| EIGEN_DEVICE_FUNC const Scalar * | data () const |
| |
| 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 |
| |
|
template<int LoadMode> |
| PacketScalar | packet (Index rowId, Index colId) const |
| |
|
template<int LoadMode> |
| PacketScalar | packet (Index index) 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<typename Derived>
class Eigen::MapBase< Derived, ReadOnlyAccessors >
Base class for dense Map and Block expression with direct access.
This base class provides the const low-level accessors (e.g. coeff, coeffRef) of dense Map and Block objects with direct access. Typical users do not have to directly deal with this class.
This class can be extended by through the macro plugin EIGEN_MAPBASE_PLUGIN. See customizing Eigen for details.
The Derived class has to provide the following two methods describing the memory layout:
Index innerStride()
const;
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition Meta.h:74
Index outerStride()
const;
- See also
- class Map, class Block
template<typename Derived >
This is an overloaded version of DenseCoeffsBase<Derived,ReadOnlyAccessors>::coeff(Index) const provided to by-pass the creation of an evaluator of the expression, thus saving compilation efforts.
See DenseCoeffsBase<Derived,ReadOnlyAccessors>::coeff(Index) const for details.
template<typename Derived >
This is an overloaded version of DenseCoeffsBase<Derived,ReadOnlyAccessors>::coeff(Index,Index) const provided to by-pass the creation of an evaluator of the expression, thus saving compilation efforts.
See DenseCoeffsBase<Derived,ReadOnlyAccessors>::coeff(Index) const for details.