MOAB  4.9.3pre
Eigen::internal::scalar_cast_op< Scalar, NewType > Struct Template Reference

Template functor to cast a scalar to another type. More...

#include <UnaryFunctors.h>

List of all members.

Public Types

typedef NewType result_type

Public Member Functions

EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
NewType 
operator() (const Scalar &a) const

Detailed Description

template<typename Scalar, typename NewType>
struct Eigen::internal::scalar_cast_op< Scalar, NewType >

Template functor to cast a scalar to another type.

See also:
class CwiseUnaryOp, MatrixBase::cast()

Definition at line 152 of file UnaryFunctors.h.


Member Typedef Documentation

template<typename Scalar , typename NewType >
typedef NewType Eigen::internal::scalar_cast_op< Scalar, NewType >::result_type

Definition at line 154 of file UnaryFunctors.h.


Member Function Documentation

template<typename Scalar , typename NewType >
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); }

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines