Go to the source code of this file.
Typedefs | |
typedef CwiseUnaryOp< internal::scalar_abs2_op< Scalar >, const Derived > | CwiseAbs2ReturnType |
typedef CwiseUnaryOp< internal::scalar_abs_op< Scalar >, const Derived > | CwiseAbsReturnType |
typedef CwiseUnaryOp< internal::scalar_arg_op< Scalar >, const Derived > | CwiseArgReturnType |
typedef CwiseUnaryOp< internal::scalar_carg_op< Scalar >, const Derived > | CwiseCArgReturnType |
typedef CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const Derived > | CwiseInverseReturnType |
template<typename ScalarExponent > | |
using | CwisePowReturnType = std::enable_if_t< internal::is_arithmetic< typename NumTraits< ScalarExponent >::Real >::value, CwiseUnaryOp< internal::scalar_unary_pow_op< Scalar, ScalarExponent >, const Derived > > |
typedef CwiseUnaryOp< internal::scalar_sign_op< Scalar >, const Derived > | CwiseSignReturnType |
typedef CwiseUnaryOp< internal::scalar_sqrt_op< Scalar >, const Derived > | CwiseSqrtReturnType |
Functions | |
const CwiseAbsReturnType | cwiseAbs () const |
const CwiseAbs2ReturnType | cwiseAbs2 () const |
const CwiseArgReturnType | cwiseArg () const |
const CwiseCArgReturnType | cwiseCArg () const |
const CwiseInverseReturnType | cwiseInverse () const |
template<typename ScalarExponent > | |
const CwisePowReturnType< ScalarExponent > | cwisePow (const ScalarExponent &exponent) const |
const CwiseSignReturnType | cwiseSign () const |
const CwiseSqrtReturnType | cwiseSqrt () const |
typedef CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const Derived> CwiseAbs2ReturnType |
Definition at line 16 of file MatrixCwiseUnaryOps.h.
typedef CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> CwiseAbsReturnType |
Definition at line 15 of file MatrixCwiseUnaryOps.h.
typedef CwiseUnaryOp<internal::scalar_arg_op<Scalar>, const Derived> CwiseArgReturnType |
Definition at line 17 of file MatrixCwiseUnaryOps.h.
typedef CwiseUnaryOp<internal::scalar_carg_op<Scalar>, const Derived> CwiseCArgReturnType |
Definition at line 18 of file MatrixCwiseUnaryOps.h.
typedef CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived> CwiseInverseReturnType |
Definition at line 21 of file MatrixCwiseUnaryOps.h.
using CwisePowReturnType = std::enable_if_t<internal::is_arithmetic<typename NumTraits<ScalarExponent>::Real>::value, CwiseUnaryOp<internal::scalar_unary_pow_op<Scalar, ScalarExponent>, const Derived> > |
Definition at line 103 of file MatrixCwiseUnaryOps.h.
typedef CwiseUnaryOp<internal::scalar_sign_op<Scalar>, const Derived> CwiseSignReturnType |
Definition at line 20 of file MatrixCwiseUnaryOps.h.
typedef CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> CwiseSqrtReturnType |
Definition at line 19 of file MatrixCwiseUnaryOps.h.
|
inline |
*this
Example:
Output:
2 4 6 5 1 0
Definition at line 34 of file MatrixCwiseUnaryOps.h.
|
inline |
*this
Example:
Output:
4 16 36 25 1 0
Definition at line 47 of file MatrixCwiseUnaryOps.h.
|
inline |
*this
Example:
Output:
(-0.211,0.68) (-0.605,0.823) (0.108,-0.444) (0.597,0.566) (0.536,-0.33) (0.258,-0.0452) 1.87 2.2 -1.33 0.759 -0.551 -0.174
Definition at line 96 of file MatrixCwiseUnaryOps.h.
|
inline |
Definition at line 100 of file MatrixCwiseUnaryOps.h.
|
inline |
Example:
Output:
0.5 2 1 0.333 4 1
Definition at line 85 of file MatrixCwiseUnaryOps.h.
|
inline |
Definition at line 108 of file MatrixCwiseUnaryOps.h.
|
inline |
Example:
Output:
1 -1 1 -1 1 0
Definition at line 71 of file MatrixCwiseUnaryOps.h.
|
inline |
Example:
Output:
1 1.41 2
Definition at line 60 of file MatrixCwiseUnaryOps.h.