PartialRedux.h File Reference
Go to the source code of this file.
Classes |
struct | ei_member_redux< BinaryOp, Scalar >::Cost< _Scalar, Size > |
struct | ei_member_redux< BinaryOp, Scalar > |
struct | ei_traits< PartialReduxExpr< MatrixType, MemberOp, Direction > > |
class | PartialRedux< ExpressionType, Direction > |
| Pseudo expression providing partial reduction operations. More...
|
class | PartialReduxExpr< MatrixType, MemberOp, Direction > |
| Generic expression of a partially reduxed matrix. More...
|
struct | PartialRedux< ExpressionType, Direction >::ReduxReturnType< BinaryOp > |
struct | PartialRedux< ExpressionType, Direction >::ReturnType< Functor, Scalar > |
Defines |
#define | EIGEN_MEMBER_FUNCTOR(MEMBER, COST) |
Functions |
| EIGEN_MEMBER_FUNCTOR (count,(Size-1)*NumTraits< Scalar >::AddCost) |
| EIGEN_MEMBER_FUNCTOR (any,(Size-1)*NumTraits< Scalar >::AddCost) |
| EIGEN_MEMBER_FUNCTOR (all,(Size-1)*NumTraits< Scalar >::AddCost) |
| EIGEN_MEMBER_FUNCTOR (maxCoeff,(Size-1)*NumTraits< Scalar >::AddCost) |
| EIGEN_MEMBER_FUNCTOR (minCoeff,(Size-1)*NumTraits< Scalar >::AddCost) |
| EIGEN_MEMBER_FUNCTOR (sum,(Size-1)*NumTraits< Scalar >::AddCost) |
| EIGEN_MEMBER_FUNCTOR (norm,(Size+5)*NumTraits< Scalar >::MulCost+(Size-1)*NumTraits< Scalar >::AddCost) |
| EIGEN_MEMBER_FUNCTOR (squaredNorm, Size *NumTraits< Scalar >::MulCost+(Size-1)*NumTraits< Scalar >::AddCost) |
Define Documentation
#define EIGEN_MEMBER_FUNCTOR |
( |
MEMBER, |
|
|
COST |
|
) |
|
Value:template <typename ResultType> \
struct ei_member_##MEMBER EIGEN_EMPTY_STRUCT { \
typedef ResultType result_type; \
template<typename Scalar, int Size> struct Cost \
{ enum { value = COST }; }; \
template<typename Derived> \
inline ResultType operator()(const MatrixBase<Derived>& mat) const \
{ return mat.MEMBER(); } \
}
Definition at line 103 of file PartialRedux.h.
Function Documentation
EIGEN_MEMBER_FUNCTOR |
( |
count |
, |
|
|
(Size-1)*NumTraits< Scalar >::AddCost |
| |
|
) |
| | |
EIGEN_MEMBER_FUNCTOR |
( |
any |
, |
|
|
(Size-1)*NumTraits< Scalar >::AddCost |
| |
|
) |
| | |
EIGEN_MEMBER_FUNCTOR |
( |
all |
, |
|
|
(Size-1)*NumTraits< Scalar >::AddCost |
| |
|
) |
| | |
EIGEN_MEMBER_FUNCTOR |
( |
maxCoeff |
, |
|
|
(Size-1)*NumTraits< Scalar >::AddCost |
| |
|
) |
| | |
EIGEN_MEMBER_FUNCTOR |
( |
minCoeff |
, |
|
|
(Size-1)*NumTraits< Scalar >::AddCost |
| |
|
) |
| | |
EIGEN_MEMBER_FUNCTOR |
( |
sum |
, |
|
|
(Size-1)*NumTraits< Scalar >::AddCost |
| |
|
) |
| | |
EIGEN_MEMBER_FUNCTOR |
( |
norm |
, |
|
|
(Size+5)*NumTraits< Scalar >::MulCost+(Size-1)*NumTraits< Scalar >::AddCost |
| |
|
) |
| | |
EIGEN_MEMBER_FUNCTOR |
( |
squaredNorm |
, |
|
|
Size *NumTraits< Scalar >::MulCost+(Size-1)*NumTraits< Scalar >::AddCost |
| |
|
) |
| | |