Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType > Class Template Reference

Tensor custom class. More...

+ Inheritance diagram for Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >:

Public Types

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

Public Member Functions

const internal::remove_all_t< typename XprType::Nested > & expression () const
 
const CustomUnaryFunc & func () const
 
 TensorCustomUnaryOp (const XprType &expr, const CustomUnaryFunc &func)
 

Protected Attributes

XprType::Nested m_expr
 
const CustomUnaryFunc m_func
 

Detailed Description

template<typename CustomUnaryFunc, typename XprType>
class Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >

Tensor custom class.

Definition at line 55 of file TensorCustomOp.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename CustomUnaryFunc , typename XprType >
typedef XprType::CoeffReturnType Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::CoeffReturnType

Definition at line 60 of file TensorCustomOp.h.

◆ Index

template<typename CustomUnaryFunc , typename XprType >
typedef internal::traits<TensorCustomUnaryOp>::Index Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::Index

Definition at line 63 of file TensorCustomOp.h.

◆ Nested

template<typename CustomUnaryFunc , typename XprType >
typedef internal::nested<TensorCustomUnaryOp>::type Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::Nested

Definition at line 61 of file TensorCustomOp.h.

◆ RealScalar

template<typename CustomUnaryFunc , typename XprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::RealScalar

Definition at line 59 of file TensorCustomOp.h.

◆ Scalar

template<typename CustomUnaryFunc , typename XprType >
typedef internal::traits<TensorCustomUnaryOp>::Scalar Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::Scalar

Definition at line 58 of file TensorCustomOp.h.

◆ StorageKind

template<typename CustomUnaryFunc , typename XprType >
typedef internal::traits<TensorCustomUnaryOp>::StorageKind Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::StorageKind

Definition at line 62 of file TensorCustomOp.h.

Constructor & Destructor Documentation

◆ TensorCustomUnaryOp()

template<typename CustomUnaryFunc , typename XprType >
Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::TensorCustomUnaryOp ( const XprType &  expr,
const CustomUnaryFunc &  func 
)
inline

Definition at line 65 of file TensorCustomOp.h.

66  : m_expr(expr), m_func(func) {}
const CustomUnaryFunc & func() const
const CustomUnaryFunc m_func

Member Function Documentation

◆ expression()

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

Definition at line 73 of file TensorCustomOp.h.

73 { return m_expr; }

◆ func()

template<typename CustomUnaryFunc , typename XprType >
const CustomUnaryFunc& Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::func ( ) const
inline

Definition at line 69 of file TensorCustomOp.h.

69 { return m_func; }

Member Data Documentation

◆ m_expr

template<typename CustomUnaryFunc , typename XprType >
XprType::Nested Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::m_expr
protected

Definition at line 76 of file TensorCustomOp.h.

◆ m_func

template<typename CustomUnaryFunc , typename XprType >
const CustomUnaryFunc Eigen::TensorCustomUnaryOp< CustomUnaryFunc, XprType >::m_func
protected

Definition at line 77 of file TensorCustomOp.h.


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