Public Member Functions
DenseCoeffsBase< Derived, DirectWriteAccessors > Class Template Reference

Base class providing direct read/write coefficient access to matrices and arrays. More...

+ Inheritance diagram for DenseCoeffsBase< Derived, DirectWriteAccessors >:

List of all members.

Public Member Functions

Index colStride () const
Index innerStride () const
Index outerStride () const
Index rowStride () const
- Public Member Functions inherited from DenseCoeffsBase< Derived, WriteAccessors >
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 ()
- 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, DirectWriteAccessors >

Base class providing direct read/write coefficient access to matrices and arrays.

Template Parameters:
DerivedType of the derived class
DirectWriteAccessorsConstant indicating direct access

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: