Eigen::MapBase
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;
Index outerStride() const;
- See also
- class Map, class Block
coeff() [1/2]
template<typename Derived >
coeff() [2/2]
template<typename Derived >
coeffRef() [1/2]
template<typename Derived >
This is the const version of coeffRef(Index) which is thus synonym of coeff(Index). It is provided for convenience.
coeffRef() [2/2]
template<typename Derived >
This is the const version of coeffRef(Index,Index) which is thus synonym of coeff(Index,Index). It is provided for convenience.
cols()
template<typename Derived >
- Returns
- the number of columns.
- See also
-
rows(), ColsAtCompileTime
data()
template<typename Derived >
Returns a pointer to the first coefficient of the matrix or vector.
- Note
- When addressing this data, make sure to honor the strides returned by innerStride() and outerStride().
- See also
- innerStride(), outerStride()
rows()
template<typename Derived >
- Returns
- the number of rows.
- See also
-
cols(), RowsAtCompileTime
The documentation for this class was generated from the following file: