15 typedef CwiseUnaryOp<internal::scalar_abs_op<Scalar>,
const Derived> CwiseAbsReturnType;
16 typedef CwiseUnaryOp<internal::scalar_abs2_op<Scalar>,
const Derived> CwiseAbs2ReturnType;
17 typedef CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>,
const Derived> CwiseSqrtReturnType;
18 typedef CwiseUnaryOp<internal::scalar_sign_op<Scalar>,
const Derived> CwiseSignReturnType;
19 typedef CwiseUnaryOp<internal::scalar_inverse_op<Scalar>,
const Derived> CwiseInverseReturnType;
26 EIGEN_DOC_UNARY_ADDONS(cwiseAbs,absolute value)
31 EIGEN_STRONG_INLINE
const CwiseAbsReturnType
32 cwiseAbs()
const {
return CwiseAbsReturnType(derived()); }
39 EIGEN_DOC_UNARY_ADDONS(cwiseAbs2,squared absolute value)
44 EIGEN_STRONG_INLINE
const CwiseAbs2ReturnType
45 cwiseAbs2()
const {
return CwiseAbs2ReturnType(derived()); }
52 EIGEN_DOC_UNARY_ADDONS(cwiseSqrt,square-root)
57 inline const CwiseSqrtReturnType
58 cwiseSqrt()
const {
return CwiseSqrtReturnType(derived()); }
65 EIGEN_DOC_UNARY_ADDONS(cwiseSign,sign
function)
68 inline const CwiseSignReturnType
69 cwiseSign()
const {
return CwiseSignReturnType(derived()); }
77 EIGEN_DOC_UNARY_ADDONS(cwiseInverse,inverse)
82 inline const CwiseInverseReturnType
83 cwiseInverse()
const {
return CwiseInverseReturnType(derived()); }