Eigen::TensorGeneratorOp< Generator, XprType > Class Template Reference

Tensor generator class. More...

+ Inheritance diagram for Eigen::TensorGeneratorOp< Generator, XprType >:

Public Types

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

Public Member Functions

const internal::remove_all_t< typename XprType::Nested > & expression () const
 
const Generator & generator () const
 
 TensorGeneratorOp (const XprType &expr, const Generator &generator)
 

Protected Attributes

const Generator m_generator
 
XprType::Nested m_xpr
 

Detailed Description

template<typename Generator, typename XprType>
class Eigen::TensorGeneratorOp< Generator, XprType >

Tensor generator class.

Definition at line 56 of file TensorGenerator.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename Generator , typename XprType >
typedef XprType::CoeffReturnType Eigen::TensorGeneratorOp< Generator, XprType >::CoeffReturnType

Definition at line 61 of file TensorGenerator.h.

◆ Index

template<typename Generator , typename XprType >
typedef Eigen::internal::traits<TensorGeneratorOp>::Index Eigen::TensorGeneratorOp< Generator, XprType >::Index

Definition at line 64 of file TensorGenerator.h.

◆ Nested

template<typename Generator , typename XprType >
typedef Eigen::internal::nested<TensorGeneratorOp>::type Eigen::TensorGeneratorOp< Generator, XprType >::Nested

Definition at line 62 of file TensorGenerator.h.

◆ RealScalar

template<typename Generator , typename XprType >
typedef Eigen::NumTraits<Scalar>::Real Eigen::TensorGeneratorOp< Generator, XprType >::RealScalar

Definition at line 60 of file TensorGenerator.h.

◆ Scalar

template<typename Generator , typename XprType >
typedef Eigen::internal::traits<TensorGeneratorOp>::Scalar Eigen::TensorGeneratorOp< Generator, XprType >::Scalar

Definition at line 59 of file TensorGenerator.h.

◆ StorageKind

template<typename Generator , typename XprType >
typedef Eigen::internal::traits<TensorGeneratorOp>::StorageKind Eigen::TensorGeneratorOp< Generator, XprType >::StorageKind

Definition at line 63 of file TensorGenerator.h.

Constructor & Destructor Documentation

◆ TensorGeneratorOp()

template<typename Generator , typename XprType >
Eigen::TensorGeneratorOp< Generator, XprType >::TensorGeneratorOp ( const XprType &  expr,
const Generator &  generator 
)
inline

Definition at line 66 of file TensorGenerator.h.

67  : m_xpr(expr), m_generator(generator) {}
const Generator m_generator
const Generator & generator() const

Member Function Documentation

◆ expression()

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

Definition at line 74 of file TensorGenerator.h.

74 { return m_xpr; }

◆ generator()

template<typename Generator , typename XprType >
const Generator& Eigen::TensorGeneratorOp< Generator, XprType >::generator ( ) const
inline

Definition at line 70 of file TensorGenerator.h.

70 { return m_generator; }

Member Data Documentation

◆ m_generator

template<typename Generator , typename XprType >
const Generator Eigen::TensorGeneratorOp< Generator, XprType >::m_generator
protected

Definition at line 78 of file TensorGenerator.h.

◆ m_xpr

template<typename Generator , typename XprType >
XprType::Nested Eigen::TensorGeneratorOp< Generator, XprType >::m_xpr
protected

Definition at line 77 of file TensorGenerator.h.


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