Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > Class Template Reference

#include <TensorContraction.h>

Inheritance diagram for Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >:
Inheritance graph
[legend]

Public Types

typedef internal::gebp_traits< typename LhsXprType::CoeffReturnType, typename RhsXprType::CoeffReturnType >::ResScalar CoeffReturnType
 
typedef Eigen::internal::traits< TensorContractionOp >::Index Index
 
typedef Eigen::internal::nested< TensorContractionOp >::type Nested
 
typedef Eigen::internal::traits< TensorContractionOp >::Scalar Scalar
 
typedef Eigen::internal::traits< TensorContractionOp >::StorageKind StorageKind
 
- Public Types inherited from Eigen::TensorBase< TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >, ReadOnlyAccessors >
typedef TensorBase< TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >, ReadOnlyAccessors > Base
 
typedef Scalar CoeffReturnType
 
typedef internal::traits< TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > DerivedTraits
 
typedef DerivedTraits::Index Index
 
typedef DerivedTraits::Scalar Scalar
 

Public Member Functions

EIGEN_DEVICE_FUNC const Indicesindices () const
 
EIGEN_DEVICE_FUNC const internal::remove_all< typename LhsXprType::Nested >::typelhsExpression () const
 
EIGEN_DEVICE_FUNC const OutputKernelType & outputKernel () const
 
EIGEN_DEVICE_FUNC const internal::remove_all< typename RhsXprType::Nested >::typerhsExpression () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp (const LhsXprType &lhs, const RhsXprType &rhs, const Indices &dims, const OutputKernelType &output_kernel=OutputKernelType())
 
- Public Member Functions inherited from Eigen::TensorBase< TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< DimId, const TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > chip (const Index offset) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< DimId, TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > chip (const Index offset)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorChippingOp< Dynamic, const TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > chip (const Index offset, const Index dim) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorChippingOp< Dynamic, TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > chip (const Index offset, const Index dim)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorConcatenationOp< const Axis, const TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >, const OtherDerived > concatenate (const OtherDerived &other, const Axis &axis) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorConcatenationOp< const Axis, TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >, OtherDerived > concatenate (const OtherDerived &other, const Axis &axis)
 
TensorDevice< TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >, DeviceType > device (const DeviceType &dev)
 
TensorAsyncDevice< TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >, DeviceType, DoneCallback > device (const DeviceType &dev, DoneCallback done)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > & operator*= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > & operator+= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > & operator-= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > & operator/= (const OtherDerived &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReshapingOp< const NewDimensions, const TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > reshape (const NewDimensions &newDimensions) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReshapingOp< const NewDimensions, TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > reshape (const NewDimensions &newDimensions)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorReverseOp< const ReverseDimensions, const TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > reverse (const ReverseDimensions &rev) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorReverseOp< const ReverseDimensions, TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > reverse (const ReverseDimensions &rev)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > & setConstant (const Scalar &val)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > & setRandom ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > & setZero ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorShufflingOp< const Shuffle, const TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > shuffle (const Shuffle &shfl) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorShufflingOp< const Shuffle, TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > shuffle (const Shuffle &shfl)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorSlicingOp< const StartIndices, const Sizes, const TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > slice (const StartIndices &startIndices, const Sizes &sizes) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorSlicingOp< const StartIndices, const Sizes, TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > slice (const StartIndices &startIndices, const Sizes &sizes)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingOp< const Strides, const TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > stride (const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingOp< const Strides, TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > stride (const Strides &strides)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, const TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorStridingSlicingOp< const StartIndices, const StopIndices, const Strides, TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > stridedSlice (const StartIndices &startIndices, const StopIndices &stopIndices, const Strides &strides)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorLayoutSwapOp< const TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > swap_layout () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorLayoutSwapOp< TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > > swap_layout ()
 

Protected Attributes

const Indices m_indices
 
LhsXprType::Nested m_lhs_xpr
 
const OutputKernelType m_output_kernel
 
RhsXprType::Nested m_rhs_xpr
 

Additional Inherited Members

- Static Public Attributes inherited from Eigen::TensorBase< TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >, ReadOnlyAccessors >
static const int NumDimensions
 
- Protected Member Functions inherited from Eigen::TensorBase< TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > & derived ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > & derived () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType > & operator= (const OtherDerived &other)
 

Detailed Description

template<typename Indices, typename LhsXprType, typename RhsXprType, typename OutputKernelType = const NoOpOutputKernel>
class Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >

Definition at line 325 of file TensorContraction.h.

Member Typedef Documentation

◆ CoeffReturnType

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
typedef internal::gebp_traits<typename LhsXprType::CoeffReturnType, typename RhsXprType::CoeffReturnType>::ResScalar Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::CoeffReturnType

Definition at line 330 of file TensorContraction.h.

◆ Index

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
typedef Eigen::internal::traits<TensorContractionOp>::Index Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::Index

Definition at line 333 of file TensorContraction.h.

◆ Nested

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
typedef Eigen::internal::nested<TensorContractionOp>::type Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::Nested

Definition at line 331 of file TensorContraction.h.

◆ Scalar

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
typedef Eigen::internal::traits<TensorContractionOp>::Scalar Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::Scalar

Definition at line 328 of file TensorContraction.h.

◆ StorageKind

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
typedef Eigen::internal::traits<TensorContractionOp>::StorageKind Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::StorageKind

Definition at line 332 of file TensorContraction.h.

Constructor & Destructor Documentation

◆ TensorContractionOp()

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::TensorContractionOp ( const LhsXprType &  lhs,
const RhsXprType &  rhs,
const Indices dims,
const OutputKernelType &  output_kernel = OutputKernelType() 
)
inline

Definition at line 335 of file TensorContraction.h.

Member Function Documentation

◆ indices()

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
EIGEN_DEVICE_FUNC const Indices& Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::indices ( ) const
inline

Definition at line 342 of file TensorContraction.h.

◆ lhsExpression()

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
EIGEN_DEVICE_FUNC const internal::remove_all<typename LhsXprType::Nested>::type& Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::lhsExpression ( ) const
inline
Returns
the nested expressions

Definition at line 347 of file TensorContraction.h.

◆ outputKernel()

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
EIGEN_DEVICE_FUNC const OutputKernelType& Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::outputKernel ( ) const
inline

Definition at line 354 of file TensorContraction.h.

◆ rhsExpression()

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
EIGEN_DEVICE_FUNC const internal::remove_all<typename RhsXprType::Nested>::type& Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::rhsExpression ( ) const
inline

Definition at line 351 of file TensorContraction.h.

Member Data Documentation

◆ m_indices

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
const Indices Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::m_indices
protected

Definition at line 359 of file TensorContraction.h.

◆ m_lhs_xpr

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
LhsXprType::Nested Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::m_lhs_xpr
protected

Definition at line 357 of file TensorContraction.h.

◆ m_output_kernel

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
const OutputKernelType Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::m_output_kernel
protected

Definition at line 360 of file TensorContraction.h.

◆ m_rhs_xpr

template<typename Indices , typename LhsXprType , typename RhsXprType , typename OutputKernelType = const NoOpOutputKernel>
RhsXprType::Nested Eigen::TensorContractionOp< Indices, LhsXprType, RhsXprType, OutputKernelType >::m_rhs_xpr
protected

Definition at line 358 of file TensorContraction.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:43:45