Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ > Class Template Reference
+ Inheritance diagram for Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >:

Public Types

typedef std::remove_const_t< typename XprType::CoeffReturnType > CoeffReturnType
 
typedef Eigen::internal::traits< TensorReductionOp >::Index Index
 
typedef Eigen::internal::nested< TensorReductionOp >::type Nested
 
typedef Eigen::NumTraits< Scalar >::Real RealScalar
 
typedef Eigen::internal::traits< TensorReductionOp >::Scalar Scalar
 
typedef Eigen::internal::traits< TensorReductionOp >::StorageKind StorageKind
 

Public Member Functions

const Dims & dims () const
 
const XprType & expression () const
 
const Op & reducer () const
 
 TensorReductionOp (const XprType &expr, const Dims &dims)
 
 TensorReductionOp (const XprType &expr, const Dims &dims, const Op &reducer)
 

Protected Attributes

const Dims m_dims
 
XprType::Nested m_expr
 
const Op m_reducer
 

Detailed Description

template<typename Op, typename Dims, typename XprType, template< class > class MakePointer_>
class Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >

Definition at line 512 of file TensorReduction.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
typedef std::remove_const_t<typename XprType::CoeffReturnType> Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::CoeffReturnType

Definition at line 516 of file TensorReduction.h.

◆ Index

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
typedef Eigen::internal::traits<TensorReductionOp>::Index Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::Index

Definition at line 519 of file TensorReduction.h.

◆ Nested

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
typedef Eigen::internal::nested<TensorReductionOp>::type Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::Nested

Definition at line 517 of file TensorReduction.h.

◆ RealScalar

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::RealScalar

Definition at line 515 of file TensorReduction.h.

◆ Scalar

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
typedef Eigen::internal::traits<TensorReductionOp>::Scalar Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::Scalar

Definition at line 514 of file TensorReduction.h.

◆ StorageKind

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
typedef Eigen::internal::traits<TensorReductionOp>::StorageKind Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::StorageKind

Definition at line 518 of file TensorReduction.h.

Constructor & Destructor Documentation

◆ TensorReductionOp() [1/2]

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::TensorReductionOp ( const XprType &  expr,
const Dims &  dims 
)
inline

Definition at line 522 of file TensorReduction.h.

522  : m_expr(expr), m_dims(dims)
523  { }
const Dims & dims() const

◆ TensorReductionOp() [2/2]

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::TensorReductionOp ( const XprType &  expr,
const Dims &  dims,
const Op &  reducer 
)
inline

Definition at line 525 of file TensorReduction.h.

525  : m_expr(expr), m_dims(dims), m_reducer(reducer)
526  { }
const Op & reducer() const

Member Function Documentation

◆ dims()

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
const Dims& Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::dims ( ) const
inline

Definition at line 531 of file TensorReduction.h.

531 { return m_dims; }

◆ expression()

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
const XprType& Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::expression ( ) const
inline

Definition at line 529 of file TensorReduction.h.

529 { return m_expr; }

◆ reducer()

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
const Op& Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::reducer ( ) const
inline

Definition at line 533 of file TensorReduction.h.

533 { return m_reducer; }

Member Data Documentation

◆ m_dims

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
const Dims Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::m_dims
protected

Definition at line 537 of file TensorReduction.h.

◆ m_expr

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
XprType::Nested Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::m_expr
protected

Definition at line 536 of file TensorReduction.h.

◆ m_reducer

template<typename Op , typename Dims , typename XprType , template< class > class MakePointer_>
const Op Eigen::TensorReductionOp< Op, Dims, XprType, MakePointer_ >::m_reducer
protected

Definition at line 538 of file TensorReduction.h.


The documentation for this class was generated from the following files: