This is defined in the Array module.
#include <Eigen/Array>
MatrixType | the type of the matrix we are applying the redux operation | |
MemberOp | type of the member functor | |
Direction | indicates the direction of the redux (Vertical or Horizontal) |
Public Types | |
typedef ei_traits < PartialReduxExpr > ::_MatrixTypeNested | _MatrixTypeNested |
typedef ei_traits < PartialReduxExpr > ::MatrixTypeNested | MatrixTypeNested |
Public Member Functions | |
const Scalar | coeff (int i, int j) const |
int | cols () const |
PartialReduxExpr (const MatrixType &mat, const MemberOp &func=MemberOp()) | |
int | rows () const |
Protected Attributes | |
const MemberOp | m_functor |
const MatrixTypeNested | m_matrix |
const Scalar coeff | ( | int | row, | |
int | col | |||
) | const [inline] |
Short version: don't use this function, use operator()(int,int) const instead.
Long version: this function is similar to operator()(int,int) const , but without the assertion. Use this for limiting the performance cost of debugging code when doing repeated coefficient access. Only use this when it is guaranteed that the parameters row and col are in range.
If EIGEN_INTERNAL_DEBUGGING is defined, an assertion will be made, making this function equivalent to operator()(int,int) const .
Reimplemented from MatrixBase.
int cols | ( | ) | const [inline] |
int rows | ( | ) | const [inline] |