Base class providing direct read-only coefficient access to matrices and arrays.
More...
|
Index | colStride () const |
|
Index | innerStride () const |
|
Index | outerStride () const |
|
Index | rowStride () const |
|
CoeffReturnType | coeff (Index row, Index col) const |
|
CoeffReturnType | coeff (Index index) const |
|
CoeffReturnType | operator() (Index row, Index col) const |
|
CoeffReturnType | operator() (Index index) const |
|
CoeffReturnType | operator[] (Index index) const |
|
CoeffReturnType | w () const |
|
CoeffReturnType | x () const |
|
CoeffReturnType | y () const |
|
CoeffReturnType | z () const |
|
Index | cols () const |
|
Derived & | derived () |
|
const Derived & | derived () const |
|
Index | rows () const |
|
Index | size () const |
|
template<typename Derived>
class Eigen::DenseCoeffsBase< Derived, DirectAccessors >
Base class providing direct read-only coefficient access to matrices and arrays.
- Template Parameters
-
Derived | Type of the derived class |
DirectAccessors | Constant indicating direct access |
This class defines functions to work with strides which can be used to access entries directly. This class inherits DenseCoeffsBase<Derived, ReadOnlyAccessors> which defines functions to access entries read-only using operator()
.
- See Also
- The class hierarchy
Index colStride |
( |
| ) |
const |
|
inline |
- Returns
- the pointer increment between two consecutive columns.
- See Also
- innerStride(), outerStride(), rowStride()
Index innerStride |
( |
| ) |
const |
|
inline |
- Returns
- the pointer increment between two consecutive elements within a slice in the inner direction.
- See Also
- outerStride(), rowStride(), colStride()
Index outerStride |
( |
| ) |
const |
|
inline |
- Returns
- the pointer increment between two consecutive inner slices (for example, between two consecutive columns in a column-major matrix).
- See Also
- innerStride(), rowStride(), colStride()
Index rowStride |
( |
| ) |
const |
|
inline |
- Returns
- the pointer increment between two consecutive rows.
- See Also
- innerStride(), outerStride(), colStride()
The documentation for this class was generated from the following file: