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
118 template<
typename CustomUnaryOp>
120 inline const CwiseUnaryOp<CustomUnaryOp, const Derived>
123 return CwiseUnaryOp<CustomUnaryOp, const Derived>(derived(),
func);
139 template<
typename CustomViewOp>
141 inline const CwiseUnaryView<CustomViewOp, const Derived>
144 return CwiseUnaryView<CustomViewOp, const Derived>(derived(),
func);
153 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
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 const CwiseUnaryView< CustomViewOp, const Derived > unaryViewExpr(const CustomViewOp &func=CustomViewOp()) const
EIGEN_DEVICE_FUNC const CwiseUnaryOp< CustomUnaryOp, const Derived > unaryExpr(const CustomUnaryOp &func=CustomUnaryOp()) const
Apply a unary operator coefficient-wise.
EIGEN_DEVICE_FUNC ConjugateReturnType conjugate() const
EIGEN_DEVICE_FUNC CastXpr< NewType >::Type cast() 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