|
MOAB
4.9.3pre
|
Template functor to cast a scalar to another type. More...
#include <UnaryFunctors.h>
Public Types | |
| typedef NewType | result_type |
Public Member Functions | |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const NewType | operator() (const Scalar &a) const |
Template functor to cast a scalar to another type.
Definition at line 152 of file UnaryFunctors.h.
| typedef NewType Eigen::internal::scalar_cast_op< Scalar, NewType >::result_type |
Definition at line 154 of file UnaryFunctors.h.
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const NewType Eigen::internal::scalar_cast_op< Scalar, NewType >::operator() | ( | const Scalar & | a | ) | const [inline] |
Definition at line 155 of file UnaryFunctors.h.
{ return cast<Scalar, NewType>(a); }