Go to the source code of this file.
Defines | |
#define | EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(METHOD_NAME, FUNCTOR) |
#define | EIGEN_MAKE_SCALAR_CWISE_UNARY_OP(METHOD_NAME, FUNCTOR) |
Functions | |
EIGEN_STRONG_INLINE const CwiseUnaryOp < internal::scalar_abs_op < Scalar >, const Derived > | abs () const |
EIGEN_STRONG_INLINE const CwiseUnaryOp < internal::scalar_abs2_op < Scalar >, const Derived > | abs2 () const |
const CwiseUnaryOp < internal::scalar_exp_op < Scalar >, const Derived > | exp () const |
const CwiseUnaryOp < internal::scalar_log_op < Scalar >, const Derived > | log () const |
const CwiseUnaryOp < internal::scalar_sqrt_op < Scalar >, const Derived > | sqrt () const |
const CwiseUnaryOp < internal::scalar_cos_op < Scalar >, const Derived > | cos () const |
const CwiseUnaryOp < internal::scalar_sin_op < Scalar >, const Derived > | sin () const |
const CwiseUnaryOp < internal::scalar_acos_op < Scalar >, const Derived > | acos () const |
const CwiseUnaryOp < internal::scalar_asin_op < Scalar >, const Derived > | asin () const |
const CwiseUnaryOp < internal::scalar_tan_op < Scalar >, Derived > | tan () const |
const CwiseUnaryOp < internal::scalar_pow_op < Scalar >, const Derived > | pow (const Scalar &exponent) const |
const CwiseUnaryOp < internal::scalar_inverse_op < Scalar >, const Derived > | inverse () const |
const CwiseUnaryOp < internal::scalar_square_op < Scalar >, const Derived > | square () const |
const CwiseUnaryOp < internal::scalar_cube_op < Scalar >, const Derived > | cube () const |
#define EIGEN_MAKE_SCALAR_CWISE_UNARY_OP | ( | METHOD_NAME, | ||
FUNCTOR | ||||
) |
inline const CwiseUnaryOp<std::binder2nd<FUNCTOR<Scalar> >, const Derived> \ METHOD_NAME(const Scalar& s) const { \ return CwiseUnaryOp<std::binder2nd<FUNCTOR<Scalar> >, const Derived> \ (derived(), std::bind2nd(FUNCTOR<Scalar>(), s)); \ }
#define EIGEN_MAKE_SCALAR_CWISE_UNARY_OP | ( | METHOD_NAME, | ||
FUNCTOR | ||||
) |
inline const CwiseUnaryOp<std::binder2nd<FUNCTOR<Scalar> >, const Derived> \ METHOD_NAME(const Scalar& s) const { \ return CwiseUnaryOp<std::binder2nd<FUNCTOR<Scalar> >, const Derived> \ (derived(), std::bind2nd(FUNCTOR<Scalar>(), s)); \ }
EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> abs | ( | ) | const |
*this
Example:
Output:
EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const Derived> abs2 | ( | ) | const |
const CwiseUnaryOp<internal::scalar_acos_op<Scalar>, const Derived> acos | ( | ) | const [inline] |
const CwiseUnaryOp<internal::scalar_asin_op<Scalar>, const Derived> asin | ( | ) | const [inline] |
const CwiseUnaryOp<internal::scalar_cos_op<Scalar>, const Derived> cos | ( | ) | const [inline] |
const CwiseUnaryOp<internal::scalar_cube_op<Scalar>, const Derived> cube | ( | ) | const [inline] |
const CwiseUnaryOp<internal::scalar_exp_op<Scalar>, const Derived> exp | ( | ) | const [inline] |
const CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived> inverse | ( | ) | const [inline] |
Example:
Output:
const CwiseUnaryOp<internal::scalar_log_op<Scalar>, const Derived> log | ( | ) | const [inline] |
const CwiseUnaryOp<internal::scalar_pow_op<Scalar>, const Derived> pow | ( | const Scalar & | exponent | ) | const [inline] |
const CwiseUnaryOp<internal::scalar_sin_op<Scalar>, const Derived> sin | ( | ) | const [inline] |
const CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> sqrt | ( | ) | const [inline] |
const CwiseUnaryOp<internal::scalar_square_op<Scalar>, const Derived> square | ( | ) | const [inline] |
Example:
Output:
const CwiseUnaryOp<internal::scalar_tan_op<Scalar>, Derived> tan | ( | ) | const [inline] |