MOAB
4.9.3pre
|
Template functor to raise a scalar to a power. More...
#include <BinaryFunctors.h>
Public Member Functions | |
EIGEN_DEVICE_FUNC | scalar_pow_op (const scalar_pow_op &other) |
EIGEN_DEVICE_FUNC | scalar_pow_op (const Scalar &exponent) |
EIGEN_DEVICE_FUNC Scalar | operator() (const Scalar &a) const |
Public Attributes | |
const Scalar | m_exponent |
Template functor to raise a scalar to a power.
Definition at line 493 of file BinaryFunctors.h.
EIGEN_DEVICE_FUNC Eigen::internal::scalar_pow_op< Scalar >::scalar_pow_op | ( | const scalar_pow_op< Scalar > & | other | ) | [inline] |
Definition at line 495 of file BinaryFunctors.h.
: m_exponent(other.m_exponent) { }
EIGEN_DEVICE_FUNC Eigen::internal::scalar_pow_op< Scalar >::scalar_pow_op | ( | const Scalar & | exponent | ) | [inline] |
Definition at line 496 of file BinaryFunctors.h.
: m_exponent(exponent) {}
EIGEN_DEVICE_FUNC Scalar Eigen::internal::scalar_pow_op< Scalar >::operator() | ( | const Scalar & | a | ) | const [inline] |
Definition at line 498 of file BinaryFunctors.h.
{ return numext::pow(a, m_exponent); }
const Scalar Eigen::internal::scalar_pow_op< Scalar >::m_exponent |
Definition at line 499 of file BinaryFunctors.h.