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, const NoOpOutputKernel >, ReadOnlyAccessors >
typedef TensorBase< TensorContractionOp< Indices, LhsXprType, RhsXprType, const NoOpOutputKernel >, ReadOnlyAccessors > Base
 
typedef Scalar CoeffReturnType
 
typedef internal::traits< TensorContractionOp< Indices, LhsXprType, RhsXprType, const NoOpOutputKernel > > DerivedTraits
 
typedef DerivedTraits::Index Index
 
typedef DerivedTraits::Scalar Scalar
 

Public Member Functions

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

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, const NoOpOutputKernel >, ReadOnlyAccessors >
static const int NumDimensions
 
- Protected Member Functions inherited from Eigen::TensorBase< TensorContractionOp< Indices, LhsXprType, RhsXprType, const NoOpOutputKernel >, ReadOnlyAccessors >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, const NoOpOutputKernel > & derived ()
 
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, const NoOpOutputKernel > & derived () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorContractionOp< Indices, LhsXprType, RhsXprType, const NoOpOutputKernel > & 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>
const EIGEN_DEVICE_FUNC 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>
const EIGEN_DEVICE_FUNC 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>
const EIGEN_DEVICE_FUNC 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>
const EIGEN_DEVICE_FUNC 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 Thu Dec 19 2024 04:11:12