Base class providing direct read/write coefficient access to matrices and arrays.
More...
Public Member Functions |
| Index | colStride () const |
| Index | innerStride () const |
| Index | outerStride () const |
| Index | rowStride () const |
| Scalar & | coeffRef (Index row, Index col) |
| Scalar & | coeffRef (Index index) |
| Scalar & | operator() (Index row, Index col) |
| Scalar & | operator() (Index index) |
| Scalar & | operator[] (Index index) |
| Scalar & | w () |
| Scalar & | x () |
| Scalar & | y () |
| Scalar & | z () |
| 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, DirectWriteAccessors >
Base class providing direct read/write coefficient access to matrices and arrays.
- Template Parameters
-
This class defines functions to work with strides which can be used to access entries directly. This class inherits DenseCoeffsBase<Derived, WriteAccessors> which defines functions to access entries read/write 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: