13 #ifndef EIGEN_PARSED_BY_DOXYGEN 17 const CwiseUnaryOp<internal::scalar_conjugate_op<Scalar>,
const Derived>,
22 const CwiseUnaryOp<internal::scalar_real_op<Scalar>,
const Derived>,
27 CwiseUnaryView<internal::scalar_real_ref_op<Scalar>, Derived>,
31 typedef CwiseUnaryOp<internal::scalar_imag_op<Scalar>,
const Derived>
ImagReturnType;
37 #endif // not EIGEN_PARSED_BY_DOXYGEN 48 template<
class NewType>
struct CastXpr {
typedef typename internal::cast_return_type<Derived,const CwiseUnaryOp<internal::scalar_cast_op<Scalar, NewType>,
const Derived> >
::type Type; };
59 template<
typename NewType>
73 inline ConjugateReturnType
90 return ReturnType(derived());
132 template<
typename CustomUnaryOp>
134 inline const CwiseUnaryOp<CustomUnaryOp, const Derived>
137 return CwiseUnaryOp<CustomUnaryOp, const Derived>(derived(),
func);
153 template<
typename CustomViewOp>
155 inline const CwiseUnaryView<CustomViewOp, const Derived>
158 return CwiseUnaryView<CustomViewOp, const Derived>(derived(),
func);
167 inline NonConstRealReturnType
#define EIGEN_DOC_UNARY_ADDONS(X, Y)
idx_t idx_t idx_t idx_t idx_t idx_t idx_t real_t real_t idx_t idx_t idx_t * part
EIGEN_DEVICE_FUNC const CwiseUnaryView< CustomViewOp, const Derived > unaryViewExpr(const CustomViewOp &func=CustomViewOp()) const
internal::conditional< NumTraits< Scalar >::IsComplex, const CwiseUnaryOp< internal::scalar_real_op< Scalar >, const Derived >, const Derived &>::type RealReturnType
CwiseUnaryOp< internal::scalar_opposite_op< Scalar >, const Derived > NegativeReturnType
EIGEN_DEVICE_FUNC internal::conditional< Cond, ConjugateReturnType, const Derived & >::type conjugateIf() const
EIGEN_DEVICE_FUNC ConjugateReturnType conjugate() const
#define EIGEN_DEVICE_FUNC
EIGEN_DEVICE_FUNC CastXpr< NewType >::Type cast() const
EIGEN_DEVICE_FUNC const CwiseUnaryOp< CustomUnaryOp, const Derived > unaryExpr(const CustomUnaryOp &func=CustomUnaryOp()) const
Apply a unary operator coefficient-wise.
EIGEN_DEVICE_FUNC const NegativeReturnType operator-() const
CwiseUnaryView< internal::scalar_imag_ref_op< Scalar >, Derived > NonConstImagReturnType
EIGEN_DEVICE_FUNC RealReturnType real() const
EIGEN_DEVICE_FUNC const ImagReturnType imag() const
internal::conditional< NumTraits< Scalar >::IsComplex, const CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, const Derived >, const Derived &>::type ConjugateReturnType
Generic expression where a coefficient-wise unary operator is applied to an expression.
CwiseUnaryOp< internal::scalar_imag_op< Scalar >, const Derived > ImagReturnType
internal::conditional< NumTraits< Scalar >::IsComplex, CwiseUnaryView< internal::scalar_real_ref_op< Scalar >, Derived >, Derived &>::type NonConstRealReturnType
internal::cast_return_type< Derived, const CwiseUnaryOp< internal::scalar_cast_op< Scalar, NewType >, const Derived > >::type Type