Eigen::internal::scalar_constant_op< Scalar > Struct Template Reference

#include <NullaryFunctors.h>

Public Member Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE scalar_constant_op (const Scalar &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar operator() () const
 
template<typename PacketType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const PacketType packetOp () const
 

Public Attributes

const Scalar m_other
 

Constructor & Destructor Documentation

◆ scalar_constant_op()

22 : m_other(other) {}
const Scalar m_other
Definition: NullaryFunctors.h:28

Member Function Documentation

◆ operator()()

template<typename Scalar >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_constant_op< Scalar >::operator() ( ) const
inline

◆ packetOp()

template<typename Scalar >
template<typename PacketType >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const PacketType Eigen::internal::scalar_constant_op< Scalar >::packetOp ( ) const
inline
25  {
26  return internal::pset1<PacketType>(m_other);
27  }

References Eigen::internal::scalar_constant_op< Scalar >::m_other.

Member Data Documentation

◆ m_other


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