Eigen::TensorConversionOp< TargetType, XprType > Class Template Reference

Tensor conversion class. This class makes it possible to vectorize type casting operations when the number of scalars per packet in the source and the destination type differ. More...

+ Inheritance diagram for Eigen::TensorConversionOp< TargetType, XprType >:

Public Types

typedef Scalar CoeffReturnType
 
typedef internal::traits< TensorConversionOp >::Index Index
 
typedef internal::nested< TensorConversionOp >::type Nested
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef internal::traits< TensorConversionOp >::Scalar Scalar
 
typedef internal::traits< TensorConversionOp >::StorageKind StorageKind
 

Public Member Functions

const internal::remove_all_t< typename XprType::Nested > & expression () const
 
 TensorConversionOp (const XprType &xpr)
 

Protected Attributes

XprType::Nested m_xpr
 

Detailed Description

template<typename TargetType, typename XprType>
class Eigen::TensorConversionOp< TargetType, XprType >

Tensor conversion class. This class makes it possible to vectorize type casting operations when the number of scalars per packet in the source and the destination type differ.

Definition at line 178 of file TensorConversion.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename TargetType , typename XprType >
typedef Scalar Eigen::TensorConversionOp< TargetType, XprType >::CoeffReturnType

Definition at line 185 of file TensorConversion.h.

◆ Index

template<typename TargetType , typename XprType >
typedef internal::traits<TensorConversionOp>::Index Eigen::TensorConversionOp< TargetType, XprType >::Index

Definition at line 183 of file TensorConversion.h.

◆ Nested

template<typename TargetType , typename XprType >
typedef internal::nested<TensorConversionOp>::type Eigen::TensorConversionOp< TargetType, XprType >::Nested

Definition at line 184 of file TensorConversion.h.

◆ RealScalar

template<typename TargetType , typename XprType >
typedef NumTraits<Scalar>::Real Eigen::TensorConversionOp< TargetType, XprType >::RealScalar

Definition at line 186 of file TensorConversion.h.

◆ Scalar

template<typename TargetType , typename XprType >
typedef internal::traits<TensorConversionOp>::Scalar Eigen::TensorConversionOp< TargetType, XprType >::Scalar

Definition at line 181 of file TensorConversion.h.

◆ StorageKind

template<typename TargetType , typename XprType >
typedef internal::traits<TensorConversionOp>::StorageKind Eigen::TensorConversionOp< TargetType, XprType >::StorageKind

Definition at line 182 of file TensorConversion.h.

Constructor & Destructor Documentation

◆ TensorConversionOp()

template<typename TargetType , typename XprType >
Eigen::TensorConversionOp< TargetType, XprType >::TensorConversionOp ( const XprType &  xpr)
inline

Definition at line 188 of file TensorConversion.h.

189  : m_xpr(xpr) {}

Member Function Documentation

◆ expression()

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

Definition at line 193 of file TensorConversion.h.

193 { return m_xpr; }

Member Data Documentation

◆ m_xpr

template<typename TargetType , typename XprType >
XprType::Nested Eigen::TensorConversionOp< TargetType, XprType >::m_xpr
protected

Definition at line 196 of file TensorConversion.h.


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