Defines | Functions

/home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/ntk/geometry/Eigen/src/plugins/ArrayCwiseUnaryOps.h File Reference

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 Documentation

#define EIGEN_MAKE_SCALAR_CWISE_UNARY_OP (   METHOD_NAME,
  FUNCTOR 
)
Value:
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 
)
Value:
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)); \
  }

Function Documentation

EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> abs (  )  const
Returns:
an expression of the coefficient-wise absolute value of *this

Example:

Output:

See also:
abs2()
EIGEN_STRONG_INLINE const CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const Derived> abs2 (  )  const
Returns:
an expression of the coefficient-wise squared absolute value of *this

Example:

Output:

See also:
abs(), square()
const CwiseUnaryOp<internal::scalar_acos_op<Scalar>, const Derived> acos (  )  const [inline]
Returns:
an expression of the coefficient-wise arc cosine of *this.

Example:

Output:

See also:
cos(), asin()
const CwiseUnaryOp<internal::scalar_asin_op<Scalar>, const Derived> asin (  )  const [inline]
Returns:
an expression of the coefficient-wise arc sine of *this.

Example:

Output:

See also:
sin(), acos()
const CwiseUnaryOp<internal::scalar_cos_op<Scalar>, const Derived> cos (  )  const [inline]
Returns:
an expression of the coefficient-wise cosine of *this.

Example:

Output:

See also:
sin(), acos()
const CwiseUnaryOp<internal::scalar_cube_op<Scalar>, const Derived> cube (  )  const [inline]
Returns:
an expression of the coefficient-wise cube of *this.

Example:

Output:

See also:
square(), pow()
const CwiseUnaryOp<internal::scalar_exp_op<Scalar>, const Derived> exp (  )  const [inline]
Returns:
an expression of the coefficient-wise exponential of *this.

Example:

Output:

See also:
pow(), log(), sin(), cos()
const CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived> inverse (  )  const [inline]
Returns:
an expression of the coefficient-wise inverse of *this.

Example:

Output:

See also:
operator/(), operator*()
const CwiseUnaryOp<internal::scalar_log_op<Scalar>, const Derived> log (  )  const [inline]
Returns:
an expression of the coefficient-wise logarithm of *this.

Example:

Output:

See also:
exp()
const CwiseUnaryOp<internal::scalar_pow_op<Scalar>, const Derived> pow ( const Scalar &  exponent  )  const [inline]
Returns:
an expression of the coefficient-wise power of *this to the given exponent.

Example:

Output:

See also:
exp(), log()
const CwiseUnaryOp<internal::scalar_sin_op<Scalar>, const Derived> sin (  )  const [inline]
Returns:
an expression of the coefficient-wise sine of *this.

Example:

Output:

See also:
cos(), asin()
const CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> sqrt (  )  const [inline]
Returns:
an expression of the coefficient-wise square root of *this.

Example:

Output:

See also:
pow(), square()
const CwiseUnaryOp<internal::scalar_square_op<Scalar>, const Derived> square (  )  const [inline]
Returns:
an expression of the coefficient-wise square of *this.

Example:

Output:

See also:
operator/(), operator*(), abs2()
const CwiseUnaryOp<internal::scalar_tan_op<Scalar>, Derived> tan (  )  const [inline]
Returns:
an expression of the coefficient-wise tan of *this.

Example:

Output:

See also:
cos(), sin()