MOAB
4.9.3pre
|
Generic expression of a partially reduxed matrix. More...
#include <VectorwiseOp.h>
Public Types | |
typedef internal::dense_xpr_base < PartialReduxExpr >::type | Base |
Public Member Functions | |
EIGEN_DEVICE_FUNC | PartialReduxExpr (const MatrixType &mat, const MemberOp &func=MemberOp()) |
EIGEN_DEVICE_FUNC Index | rows () const |
EIGEN_DEVICE_FUNC Index | cols () const |
EIGEN_DEVICE_FUNC MatrixType::Nested | nestedExpression () const |
EIGEN_DEVICE_FUNC const MemberOp & | functor () const |
Protected Attributes | |
MatrixType::Nested | m_matrix |
const MemberOp | m_functor |
Generic expression of a partially reduxed matrix.
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) |
This class represents an expression of a partial redux operator of a matrix. It is the return type of some VectorwiseOp functions, and most of the time this is the only way it is used.
Definition at line 56 of file VectorwiseOp.h.
typedef internal::dense_xpr_base<PartialReduxExpr>::type Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::Base |
Definition at line 61 of file VectorwiseOp.h.
EIGEN_DEVICE_FUNC Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::PartialReduxExpr | ( | const MatrixType & | mat, |
const MemberOp & | func = MemberOp() |
||
) | [inline, explicit] |
Definition at line 65 of file VectorwiseOp.h.
EIGEN_DEVICE_FUNC Index Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::cols | ( | void | ) | const [inline] |
Definition at line 71 of file VectorwiseOp.h.
{ return (Direction==Horizontal ? 1 : m_matrix.cols()); }
EIGEN_DEVICE_FUNC const MemberOp& Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::functor | ( | ) | const [inline] |
Definition at line 77 of file VectorwiseOp.h.
{ return m_functor; }
EIGEN_DEVICE_FUNC MatrixType::Nested Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::nestedExpression | ( | ) | const [inline] |
Definition at line 74 of file VectorwiseOp.h.
{ return m_matrix; }
EIGEN_DEVICE_FUNC Index Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::rows | ( | void | ) | const [inline] |
Definition at line 69 of file VectorwiseOp.h.
const MemberOp Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::m_functor [protected] |
Definition at line 81 of file VectorwiseOp.h.
MatrixType::Nested Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >::m_matrix [protected] |
Definition at line 80 of file VectorwiseOp.h.