MOAB
4.9.3pre
|
#include <NullaryFunctors.h>
Public Member Functions | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | scalar_constant_op (const scalar_constant_op &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE | scalar_constant_op (const Scalar &other) |
template<typename Index > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar | operator() (Index, Index=0) const |
template<typename Index , typename PacketType > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const PacketType | packetOp (Index, Index=0) const |
Public Attributes | |
const Scalar | m_other |
Definition at line 18 of file NullaryFunctors.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::internal::scalar_constant_op< Scalar >::scalar_constant_op | ( | const scalar_constant_op< Scalar > & | other | ) | [inline] |
Definition at line 19 of file NullaryFunctors.h.
: m_other(other.m_other) { }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Eigen::internal::scalar_constant_op< Scalar >::scalar_constant_op | ( | const Scalar & | other | ) | [inline] |
Definition at line 20 of file NullaryFunctors.h.
: m_other(other) { }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Scalar Eigen::internal::scalar_constant_op< Scalar >::operator() | ( | Index | , |
Index | = 0 |
||
) | const [inline] |
Definition at line 22 of file NullaryFunctors.h.
{ return m_other; }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const PacketType Eigen::internal::scalar_constant_op< Scalar >::packetOp | ( | Index | , |
Index | = 0 |
||
) | const [inline] |
Definition at line 24 of file NullaryFunctors.h.
{ return internal::pset1<PacketType>(m_other); }
const Scalar Eigen::internal::scalar_constant_op< Scalar >::m_other |
Definition at line 25 of file NullaryFunctors.h.