MOAB  4.9.3pre
MatrixCwiseUnaryOps.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef CwiseUnaryOp
< internal::scalar_abs_op
< Scalar >, const Derived > 
CwiseAbsReturnType
typedef CwiseUnaryOp
< internal::scalar_abs2_op
< Scalar >, const Derived > 
CwiseAbs2ReturnType
typedef CwiseUnaryOp
< internal::scalar_sqrt_op
< Scalar >, const Derived > 
CwiseSqrtReturnType
typedef CwiseUnaryOp
< internal::scalar_sign_op
< Scalar >, const Derived > 
CwiseSignReturnType
typedef CwiseUnaryOp
< internal::scalar_inverse_op
< Scalar >, const Derived > 
CwiseInverseReturnType

Functions

EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
CwiseAbsReturnType 
cwiseAbs () const
EIGEN_DEVICE_FUNC
EIGEN_STRONG_INLINE const
CwiseAbs2ReturnType 
cwiseAbs2 () const
EIGEN_DEVICE_FUNC const
CwiseSqrtReturnType 
cwiseSqrt () const
EIGEN_DEVICE_FUNC const
CwiseSignReturnType 
cwiseSign () const
EIGEN_DEVICE_FUNC const
CwiseInverseReturnType 
cwiseInverse () const

Typedef Documentation

typedef CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const Derived> CwiseAbs2ReturnType

Definition at line 15 of file MatrixCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> CwiseAbsReturnType

Definition at line 14 of file MatrixCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived> CwiseInverseReturnType

Definition at line 18 of file MatrixCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_sign_op<Scalar>, const Derived> CwiseSignReturnType

Definition at line 17 of file MatrixCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> CwiseSqrtReturnType

Definition at line 16 of file MatrixCwiseUnaryOps.h.


Function Documentation

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseAbsReturnType cwiseAbs ( ) const
Returns:
an expression of the coefficient-wise absolute value of *this

Example:

Output:

See also:
cwiseAbs2()

Definition at line 29 of file MatrixCwiseUnaryOps.h.

{ return CwiseAbsReturnType(derived()); }
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseAbs2ReturnType cwiseAbs2 ( ) const
Returns:
an expression of the coefficient-wise squared absolute value of *this

Example:

Output:

See also:
cwiseAbs()

Definition at line 40 of file MatrixCwiseUnaryOps.h.

{ return CwiseAbs2ReturnType(derived()); }
EIGEN_DEVICE_FUNC const CwiseInverseReturnType cwiseInverse ( ) const [inline]
Returns:
an expression of the coefficient-wise inverse of *this.

Example:

Output:

See also:
cwiseProduct()

Definition at line 73 of file MatrixCwiseUnaryOps.h.

{ return CwiseInverseReturnType(derived()); }
EIGEN_DEVICE_FUNC const CwiseSignReturnType cwiseSign ( ) const [inline]
Returns:
an expression of the coefficient-wise signum of *this.

Example:

Output:

Definition at line 61 of file MatrixCwiseUnaryOps.h.

{ return CwiseSignReturnType(derived()); }
EIGEN_DEVICE_FUNC const CwiseSqrtReturnType cwiseSqrt ( ) const [inline]
Returns:
an expression of the coefficient-wise square root of *this.

Example:

Output:

See also:
cwisePow(), cwiseSquare()

Definition at line 51 of file MatrixCwiseUnaryOps.h.

{ return CwiseSqrtReturnType(derived()); }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines