Eigen::internal::CoeffConv< SrcType, TargetType, IsSameT > Struct Template Reference

#include <TensorConversion.h>

Static Public Member Functions

template<typename ArgType , typename Device >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TargetType run (const TensorEvaluator< ArgType, Device > &impl, Index index)
 

Member Function Documentation

◆ run()

template<typename SrcType , typename TargetType , bool IsSameT>
template<typename ArgType , typename Device >
static EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TargetType Eigen::internal::CoeffConv< SrcType, TargetType, IsSameT >::run ( const TensorEvaluator< ArgType, Device > &  impl,
Index  index 
)
inlinestatic
218  {
219  internal::scalar_cast_op<SrcType, TargetType> converter;
220  return converter(impl.coeff(index));
221  }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE CoeffReturnType coeff(Index index) const
Definition: TensorEvaluator.h:89

References Eigen::TensorEvaluator< Derived, Device >::coeff().

Referenced by Eigen::TensorEvaluator< const TensorConversionOp< TargetType, ArgType >, Device >::coeff().


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