MOAB
4.9.3pre
|
Template functor to compute the phase angle of a complex. More...
#include <UnaryFunctors.h>
Public Types | |
typedef NumTraits< Scalar >::Real | result_type |
Public Member Functions | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type | operator() (const Scalar &a) const |
template<typename Packet > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet | packetOp (const Packet &a) const |
Template functor to compute the phase angle of a complex.
Definition at line 130 of file UnaryFunctors.h.
typedef NumTraits<Scalar>::Real Eigen::internal::scalar_arg_op< Scalar >::result_type |
Definition at line 132 of file UnaryFunctors.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const result_type Eigen::internal::scalar_arg_op< Scalar >::operator() | ( | const Scalar & | a | ) | const [inline] |
Definition at line 133 of file UnaryFunctors.h.
{ using numext::arg; return arg(a); }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Packet Eigen::internal::scalar_arg_op< Scalar >::packetOp | ( | const Packet & | a | ) | const [inline] |
Definition at line 135 of file UnaryFunctors.h.
{ return internal::parg(a); }