Public Member Functions | List of all members
DenseCoeffsBase< Derived, DirectAccessors > Class Template Reference

Base class providing direct read-only coefficient access to matrices and arrays. More...

+ Inheritance diagram for DenseCoeffsBase< Derived, DirectAccessors >:

Public Member Functions

Index colStride () const
 
Index innerStride () const
 
Index outerStride () const
 
Index rowStride () const
 
- Public Member Functions inherited from DenseCoeffsBase< Derived, ReadOnlyAccessors >
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
 
- Public Member Functions inherited from EigenBase< Derived >
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
DerivedType of the derived class
DirectAccessorsConstant 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: