Eigen::TensorReshapingOp< NewDimensions, XprType > Class Template Reference
+ Inheritance diagram for Eigen::TensorReshapingOp< NewDimensions, XprType >:

Public Types

typedef TensorBase< TensorReshapingOp< NewDimensions, XprType >, WriteAccessorsBase
 
typedef std::remove_const_t< typename XprType::CoeffReturnType > CoeffReturnType
 
typedef Eigen::internal::traits< TensorReshapingOp >::Index Index
 
typedef Eigen::internal::nested< TensorReshapingOp >::type Nested
 
typedef Eigen::internal::traits< TensorReshapingOp >::Scalar Scalar
 
typedef Eigen::internal::traits< TensorReshapingOp >::StorageKind StorageKind
 

Public Member Functions

const NewDimensions & dimensions () const
 
const internal::remove_all_t< typename XprType::Nested > & expression () const
 
 TensorReshapingOp (const XprType &expr, const NewDimensions &dims)
 

Protected Attributes

const NewDimensions m_dims
 
XprType::Nested m_xpr
 

Detailed Description

template<typename NewDimensions, typename XprType>
class Eigen::TensorReshapingOp< NewDimensions, XprType >

Definition at line 56 of file TensorMorphing.h.

Member Typedef Documentation

◆ Base

template<typename NewDimensions , typename XprType >
typedef TensorBase<TensorReshapingOp<NewDimensions, XprType>, WriteAccessors> Eigen::TensorReshapingOp< NewDimensions, XprType >::Base

Definition at line 59 of file TensorMorphing.h.

◆ CoeffReturnType

template<typename NewDimensions , typename XprType >
typedef std::remove_const_t<typename XprType::CoeffReturnType> Eigen::TensorReshapingOp< NewDimensions, XprType >::CoeffReturnType

Definition at line 61 of file TensorMorphing.h.

◆ Index

template<typename NewDimensions , typename XprType >
typedef Eigen::internal::traits<TensorReshapingOp>::Index Eigen::TensorReshapingOp< NewDimensions, XprType >::Index

Definition at line 64 of file TensorMorphing.h.

◆ Nested

template<typename NewDimensions , typename XprType >
typedef Eigen::internal::nested<TensorReshapingOp>::type Eigen::TensorReshapingOp< NewDimensions, XprType >::Nested

Definition at line 62 of file TensorMorphing.h.

◆ Scalar

template<typename NewDimensions , typename XprType >
typedef Eigen::internal::traits<TensorReshapingOp>::Scalar Eigen::TensorReshapingOp< NewDimensions, XprType >::Scalar

Definition at line 60 of file TensorMorphing.h.

◆ StorageKind

template<typename NewDimensions , typename XprType >
typedef Eigen::internal::traits<TensorReshapingOp>::StorageKind Eigen::TensorReshapingOp< NewDimensions, XprType >::StorageKind

Definition at line 63 of file TensorMorphing.h.

Constructor & Destructor Documentation

◆ TensorReshapingOp()

template<typename NewDimensions , typename XprType >
Eigen::TensorReshapingOp< NewDimensions, XprType >::TensorReshapingOp ( const XprType &  expr,
const NewDimensions &  dims 
)
inline

Definition at line 66 of file TensorMorphing.h.

67  : m_xpr(expr), m_dims(dims) {}
const NewDimensions m_dims

Member Function Documentation

◆ dimensions()

template<typename NewDimensions , typename XprType >
const NewDimensions& Eigen::TensorReshapingOp< NewDimensions, XprType >::dimensions ( ) const
inline

Definition at line 70 of file TensorMorphing.h.

70 { return m_dims; }

◆ expression()

template<typename NewDimensions , typename XprType >
const internal::remove_all_t<typename XprType::Nested>& Eigen::TensorReshapingOp< NewDimensions, XprType >::expression ( ) const
inline

Definition at line 74 of file TensorMorphing.h.

74 { return m_xpr; }

Member Data Documentation

◆ m_dims

template<typename NewDimensions , typename XprType >
const NewDimensions Eigen::TensorReshapingOp< NewDimensions, XprType >::m_dims
protected

Definition at line 80 of file TensorMorphing.h.

◆ m_xpr

template<typename NewDimensions , typename XprType >
XprType::Nested Eigen::TensorReshapingOp< NewDimensions, XprType >::m_xpr
protected

Definition at line 79 of file TensorMorphing.h.


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