Defines | Functions
ArrayCwiseUnaryOps.h File Reference
This graph shows which files directly or indirectly include this file:

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_acos_op
< Scalar >, const Derived > 
acos () const
const CwiseUnaryOp
< internal::scalar_asin_op
< Scalar >, const Derived > 
asin () const
const CwiseUnaryOp
< internal::scalar_cos_op
< Scalar >, const Derived > 
cos () const
const CwiseUnaryOp
< internal::scalar_cube_op
< Scalar >, const Derived > 
cube () const
const CwiseUnaryOp
< internal::scalar_exp_op
< Scalar >, const Derived > 
exp () const
const CwiseUnaryOp
< internal::scalar_inverse_op
< Scalar >, const Derived > 
inverse () const
const CwiseUnaryOp
< internal::scalar_log_op
< Scalar >, const Derived > 
log () const
const CwiseUnaryOp
< internal::scalar_pow_op
< Scalar >, const Derived > 
pow (const Scalar &exponent) const
const CwiseUnaryOp
< internal::scalar_sin_op
< Scalar >, const Derived > 
sin () const
const CwiseUnaryOp
< internal::scalar_sqrt_op
< Scalar >, const Derived > 
sqrt () const
const CwiseUnaryOp
< internal::scalar_square_op
< Scalar >, const Derived > 
square () const
const CwiseUnaryOp
< internal::scalar_tan_op
< Scalar >, Derived > 
tan () 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)); \
  }

Definition at line 189 of file ArrayCwiseUnaryOps.h.


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()

Definition at line 11 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 24 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 103 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 116 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 76 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 184 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 37 of file ArrayCwiseUnaryOps.h.

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*()

Definition at line 158 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 50 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 143 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 90 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 63 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 171 of file ArrayCwiseUnaryOps.h.

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()

Definition at line 129 of file ArrayCwiseUnaryOps.h.



win_eigen
Author(s): Daniel Stonier
autogenerated on Wed Sep 16 2015 07:12:40