Eigen::internal::scalar_real_op< Scalar > Struct Template Reference

Template functor to extract the real part of a complex. More...

#include <UnaryFunctors.h>

Public Types

typedef NumTraits< Scalar >::Real result_type
 

Public Member Functions

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

Detailed Description

template<typename Scalar>
struct Eigen::internal::scalar_real_op< Scalar >

Template functor to extract the real part of a complex.

See also
class CwiseUnaryOp, MatrixBase::real()

Member Typedef Documentation

◆ result_type

template<typename Scalar >
typedef NumTraits<Scalar>::Real Eigen::internal::scalar_real_op< Scalar >::result_type

Member Function Documentation

◆ operator()()

template<typename Scalar >
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE result_type Eigen::internal::scalar_real_op< Scalar >::operator() ( const Scalar a) const
inline
283 { return numext::real(a); }
float real
Definition: datatypes.h:10
const Scalar * a
Definition: level2_cplx_impl.h:32

References a.


The documentation for this struct was generated from the following file: