Base class providing direct read-only coefficient access to matrices and arrays.
More...
List of all members.
Public Member Functions |
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 |
Detailed Description
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
Member Function Documentation
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: