Classes | Namespaces | Macros | Functions
VectorwiseOp.h File Reference

Go to the source code of this file.

Classes

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

Namespaces

 Eigen
 Namespace containing all symbols from the Eigen library.
 
 Eigen::internal
 

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_MAKE_PARTIAL_REDUX_FUNCTOR (maxCoeff,(Size-1) *NumTraits< Scalar >::AddCost, 1, internal::scalar_max_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 (prod,(Size-1) *NumTraits< Scalar >::MulCost, 1, internal::scalar_product_op)
 
 Eigen::internal::EIGEN_MAKE_PARTIAL_REDUX_FUNCTOR (sum,(Size-1) *NumTraits< Scalar >::AddCost, 1, internal::scalar_sum_op)
 
 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 (blueNorm,(Size+5) *NumTraits< Scalar >::MulCost+(Size-1) *NumTraits< Scalar >::AddCost)
 
 Eigen::internal::EIGEN_MEMBER_FUNCTOR (count,(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 (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)
 

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 { \
EIGEN_EMPTY_STRUCT_CTOR(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(); } \
}

Definition at line 86 of file VectorwiseOp.h.

◆ EIGEN_MEMBER_FUNCTOR

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

Definition at line 101 of file VectorwiseOp.h.

mat
MatrixXf mat
Definition: Tutorial_AdvancedInitialization_CommaTemporary.cpp:1
operator()
internal::enable_if< internal::valid_indexed_view_overload< RowIndices, ColIndices >::value &&internal::traits< typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::ReturnAsIndexedView, typename EIGEN_INDEXED_VIEW_METHOD_TYPE< RowIndices, ColIndices >::type >::type operator()(const RowIndices &rowIndices, const ColIndices &colIndices) EIGEN_INDEXED_VIEW_METHOD_CONST
Definition: IndexedViewMethods.h:73
XprType
CwiseBinaryOp< internal::scalar_sum_op< double, double >, const CpyMatrixXd, const CpyMatrixXd > XprType
Definition: nestbyvalue.cpp:15
test_callbacks.value
value
Definition: test_callbacks.py:160
VECTORIZABLE
#define VECTORIZABLE(VAL)
Definition: cxx11_tensor_executor.cpp:618


gtsam
Author(s):
autogenerated on Fri Nov 1 2024 03:43:27