Eigen::internal::nullary_wrapper< Scalar, NullaryOp, has_nullary, has_unary, has_binary > Struct Template Reference

#include <CoreEvaluators.h>

Public Member Functions

template<typename IndexType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator() (const NullaryOp &op, IndexType i, IndexType j) const
 
template<typename IndexType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar operator() (const NullaryOp &op, IndexType i) const
 
template<typename T , typename IndexType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp (const NullaryOp &op, IndexType i, IndexType j) const
 
template<typename T , typename IndexType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T packetOp (const NullaryOp &op, IndexType i) const
 

Member Function Documentation

◆ operator()() [1/2]

template<typename Scalar , typename NullaryOp , bool has_nullary = has_nullary_operator<NullaryOp>::value, bool has_unary = has_unary_operator<NullaryOp>::value, bool has_binary = has_binary_operator<NullaryOp>::value>
template<typename IndexType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar Eigen::internal::nullary_wrapper< Scalar, NullaryOp, has_nullary, has_unary, has_binary >::operator() ( const NullaryOp &  op,
IndexType  i 
) const
inline
338  {
339  return op(i);
340  }
int i
Definition: BiCGSTAB_step_by_step.cpp:9
char char * op
Definition: level2_impl.h:374

References i, and op.

◆ operator()() [2/2]

template<typename Scalar , typename NullaryOp , bool has_nullary = has_nullary_operator<NullaryOp>::value, bool has_unary = has_unary_operator<NullaryOp>::value, bool has_binary = has_binary_operator<NullaryOp>::value>
template<typename IndexType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Scalar Eigen::internal::nullary_wrapper< Scalar, NullaryOp, has_nullary, has_unary, has_binary >::operator() ( const NullaryOp &  op,
IndexType  i,
IndexType  j 
) const
inline
334  {
335  return op(i, j);
336  }
std::ptrdiff_t j
Definition: tut_arithmetic_redux_minmax.cpp:2

References i, j, and op.

◆ packetOp() [1/2]

template<typename Scalar , typename NullaryOp , bool has_nullary = has_nullary_operator<NullaryOp>::value, bool has_unary = has_unary_operator<NullaryOp>::value, bool has_binary = has_binary_operator<NullaryOp>::value>
template<typename T , typename IndexType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T Eigen::internal::nullary_wrapper< Scalar, NullaryOp, has_nullary, has_unary, has_binary >::packetOp ( const NullaryOp &  op,
IndexType  i 
) const
inline
347  {
348  return op.template packetOp<T>(i);
349  }

References i, and op.

◆ packetOp() [2/2]

template<typename Scalar , typename NullaryOp , bool has_nullary = has_nullary_operator<NullaryOp>::value, bool has_unary = has_unary_operator<NullaryOp>::value, bool has_binary = has_binary_operator<NullaryOp>::value>
template<typename T , typename IndexType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE T Eigen::internal::nullary_wrapper< Scalar, NullaryOp, has_nullary, has_unary, has_binary >::packetOp ( const NullaryOp &  op,
IndexType  i,
IndexType  j 
) const
inline
343  {
344  return op.template packetOp<T>(i, j);
345  }

References i, j, and op.


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