VectorwiseOp.h File Reference

Go to the source code of this file.

Classes

struct  Eigen::internal::traits< PartialReduxExpr< MatrixType, MemberOp, Direction > >
 
class  Eigen::PartialReduxExpr< MatrixType, MemberOp, Direction >
 Generic expression of a partially reduxed matrix. More...
 
struct  Eigen::internal::member_lpnorm< p, ResultType, Scalar >
 
struct  Eigen::internal::member_lpnorm< p, ResultType, Scalar >::Cost< Size >
 
struct  Eigen::internal::member_redux< BinaryOpT, Scalar >
 
struct  Eigen::internal::member_redux< BinaryOpT, Scalar >::Cost< Size >
 
class  Eigen::VectorwiseOp< ExpressionType, Direction >
 Pseudo expression providing broadcasting and partial reduction operations. More...
 
struct  Eigen::VectorwiseOp< ExpressionType, Direction >::ReturnType< Functor, ReturnScalar >
 
struct  Eigen::VectorwiseOp< ExpressionType, Direction >::ReduxReturnType< BinaryOp >
 
struct  Eigen::VectorwiseOp< ExpressionType, Direction >::ExtendedType< OtherDerived >
 
struct  Eigen::VectorwiseOp< ExpressionType, Direction >::OppositeExtendedType< OtherDerived >
 
struct  Eigen::VectorwiseOp< ExpressionType, Direction >::LpNormReturnType< p >
 

Namespaces

 Eigen
 Namespace containing all symbols from the Eigen library.
 
 Eigen::internal
 Namespace containing low-level routines from the Eigen library.
 

Macros

#define EIGEN_MAKE_PARTIAL_REDUX_FUNCTOR(MEMBER, COST, VECTORIZABLE, BINARYOP)
 
#define EIGEN_MEMBER_FUNCTOR(MEMBER, COST)   EIGEN_MAKE_PARTIAL_REDUX_FUNCTOR(MEMBER, COST, 0, partial_redux_dummy_func)
 

Functions

 Eigen::internal::EIGEN_MEMBER_FUNCTOR (norm,(Size+5) *NumTraits< Scalar >::MulCost+(Size - 1) *NumTraits< Scalar >::AddCost)
 
 Eigen::internal::EIGEN_MEMBER_FUNCTOR (stableNorm,(Size+5) *NumTraits< Scalar >::MulCost+(Size - 1) *NumTraits< Scalar >::AddCost)
 
 Eigen::internal::EIGEN_MEMBER_FUNCTOR (blueNorm,(Size+5) *NumTraits< Scalar >::MulCost+(Size - 1) *NumTraits< Scalar >::AddCost)
 
 Eigen::internal::EIGEN_MEMBER_FUNCTOR (hypotNorm,(Size - 1) *functor_traits< scalar_hypot_op< Scalar > >::Cost)
 
 Eigen::internal::EIGEN_MEMBER_FUNCTOR (all,(Size - 1) *NumTraits< Scalar >::AddCost)
 
 Eigen::internal::EIGEN_MEMBER_FUNCTOR (any,(Size - 1) *NumTraits< Scalar >::AddCost)
 
 Eigen::internal::EIGEN_MEMBER_FUNCTOR (count,(Size - 1) *NumTraits< Scalar >::AddCost)
 
 Eigen::internal::EIGEN_MAKE_PARTIAL_REDUX_FUNCTOR (sum,(Size - 1) *NumTraits< Scalar >::AddCost, 1, internal::scalar_sum_op)
 
 Eigen::internal::EIGEN_MAKE_PARTIAL_REDUX_FUNCTOR (minCoeff,(Size - 1) *NumTraits< Scalar >::AddCost, 1, internal::scalar_min_op)
 
 Eigen::internal::EIGEN_MAKE_PARTIAL_REDUX_FUNCTOR (maxCoeff,(Size - 1) *NumTraits< Scalar >::AddCost, 1, internal::scalar_max_op)
 
 Eigen::internal::EIGEN_MAKE_PARTIAL_REDUX_FUNCTOR (prod,(Size - 1) *NumTraits< Scalar >::MulCost, 1, internal::scalar_product_op)
 

Macro Definition Documentation

◆ EIGEN_MAKE_PARTIAL_REDUX_FUNCTOR

#define EIGEN_MAKE_PARTIAL_REDUX_FUNCTOR (   MEMBER,
  COST,
  VECTORIZABLE,
  BINARYOP 
)
Value:
template <typename ResultType, typename Scalar> \
struct member_##MEMBER { \
typedef ResultType result_type; \
typedef BINARYOP<Scalar, Scalar> BinaryOp; \
template <int Size> \
struct Cost { \
enum { value = COST }; \
}; \
enum { Vectorizable = VECTORIZABLE }; \
template <typename XprType> \
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ResultType operator()(const XprType& mat) const { \
return mat.MEMBER(); \
} \
BinaryOp binaryFunc() const { return BinaryOp(); } \
}
#define EIGEN_STRONG_INLINE
Definition: Macros.h:834
#define VECTORIZABLE(T, VAL)
Definition: cxx11_tensor_executor.cpp:581
squared absolute value
Definition: GlobalFunctions.h:87
CwiseBinaryOp< internal::scalar_sum_op< double, double >, const CpyMatrixXd, const CpyMatrixXd > XprType
Definition: nestbyvalue.cpp:15

◆ EIGEN_MEMBER_FUNCTOR

#define EIGEN_MEMBER_FUNCTOR (   MEMBER,
  COST 
)    EIGEN_MAKE_PARTIAL_REDUX_FUNCTOR(MEMBER, COST, 0, partial_redux_dummy_func)