Typedefs | Functions
ArrayCwiseUnaryOps.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_abs2_op< Scalar >, const Derived > Abs2ReturnType
 
typedef CwiseUnaryOp< internal::scalar_abs_op< Scalar >, const Derived > AbsReturnType
 
typedef CwiseUnaryOp< internal::scalar_acos_op< Scalar >, const Derived > AcosReturnType
 
typedef CwiseUnaryOp< internal::scalar_arg_op< Scalar >, const Derived > ArgReturnType
 
typedef CwiseUnaryOp< internal::scalar_asin_op< Scalar >, const Derived > AsinReturnType
 
typedef CwiseUnaryOp< internal::scalar_atan_op< Scalar >, const Derived > AtanReturnType
 
typedef CwiseUnaryOp< internal::scalar_boolean_not_op< Scalar >, const Derived > BooleanNotReturnType
 
typedef CwiseUnaryOp< internal::scalar_ceil_op< Scalar >, const Derived > CeilReturnType
 
typedef CwiseUnaryOp< internal::scalar_cosh_op< Scalar >, const Derived > CoshReturnType
 
typedef CwiseUnaryOp< internal::scalar_cos_op< Scalar >, const Derived > CosReturnType
 
typedef CwiseUnaryOp< internal::scalar_cube_op< Scalar >, const Derived > CubeReturnType
 
typedef CwiseUnaryOp< internal::scalar_digamma_op< Scalar >, const Derived > DigammaReturnType
 
typedef CwiseUnaryOp< internal::scalar_erfc_op< Scalar >, const Derived > ErfcReturnType
 
typedef CwiseUnaryOp< internal::scalar_erf_op< Scalar >, const Derived > ErfReturnType
 
typedef CwiseUnaryOp< internal::scalar_exp_op< Scalar >, const Derived > ExpReturnType
 
typedef CwiseUnaryOp< internal::scalar_floor_op< Scalar >, const Derived > FloorReturnType
 
typedef CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const Derived > InverseReturnType
 
typedef CwiseUnaryOp< internal::scalar_isfinite_op< Scalar >, const Derived > IsFiniteReturnType
 
typedef CwiseUnaryOp< internal::scalar_isinf_op< Scalar >, const Derived > IsInfReturnType
 
typedef CwiseUnaryOp< internal::scalar_isnan_op< Scalar >, const Derived > IsNaNReturnType
 
typedef CwiseUnaryOp< internal::scalar_lgamma_op< Scalar >, const Derived > LgammaReturnType
 
typedef CwiseUnaryOp< internal::scalar_log10_op< Scalar >, const Derived > Log10ReturnType
 
typedef CwiseUnaryOp< internal::scalar_log1p_op< Scalar >, const Derived > Log1pReturnType
 
typedef CwiseUnaryOp< internal::scalar_log_op< Scalar >, const Derived > LogReturnType
 
typedef CwiseUnaryOp< internal::scalar_round_op< Scalar >, const Derived > RoundReturnType
 
typedef CwiseUnaryOp< internal::scalar_rsqrt_op< Scalar >, const Derived > RsqrtReturnType
 
typedef CwiseUnaryOp< internal::scalar_sign_op< Scalar >, const Derived > SignReturnType
 
typedef CwiseUnaryOp< internal::scalar_sinh_op< Scalar >, const Derived > SinhReturnType
 
typedef CwiseUnaryOp< internal::scalar_sin_op< Scalar >, const Derived > SinReturnType
 
typedef CwiseUnaryOp< internal::scalar_sqrt_op< Scalar >, const Derived > SqrtReturnType
 
typedef CwiseUnaryOp< internal::scalar_square_op< Scalar >, const Derived > SquareReturnType
 
typedef CwiseUnaryOp< internal::scalar_tanh_op< Scalar >, const Derived > TanhReturnType
 
typedef CwiseUnaryOp< internal::scalar_tan_op< Scalar >, const Derived > TanReturnType
 

Functions

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const AbsReturnType abs () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Abs2ReturnType abs2 () const
 
EIGEN_DEVICE_FUNC const AcosReturnType acos () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArgReturnType arg () const
 
EIGEN_DEVICE_FUNC const AsinReturnType asin () const
 
EIGEN_DEVICE_FUNC const AtanReturnType atan () const
 
EIGEN_DEVICE_FUNC const CeilReturnType ceil () const
 
EIGEN_DEVICE_FUNC const CosReturnType cos () const
 
EIGEN_DEVICE_FUNC const CoshReturnType cosh () const
 
EIGEN_DEVICE_FUNC const CubeReturnType cube () const
 
EIGEN_DEVICE_FUNC const DigammaReturnType digamma () const
 
EIGEN_DEVICE_FUNC const ErfReturnType erf () const
 
EIGEN_DEVICE_FUNC const ErfcReturnType erfc () const
 
EIGEN_DEVICE_FUNC const ExpReturnType exp () const
 
EIGEN_DEVICE_FUNC const FloorReturnType floor () const
 
EIGEN_DEVICE_FUNC const InverseReturnType inverse () const
 
EIGEN_DEVICE_FUNC const IsFiniteReturnType isFinite () const
 
EIGEN_DEVICE_FUNC const IsInfReturnType isInf () const
 
EIGEN_DEVICE_FUNC const IsNaNReturnType isNaN () const
 
EIGEN_DEVICE_FUNC const LgammaReturnType lgamma () const
 
EIGEN_DEVICE_FUNC const LogReturnType log () const
 
EIGEN_DEVICE_FUNC const Log10ReturnType log10 () const
 
EIGEN_DEVICE_FUNC const Log1pReturnType log1p () const
 
EIGEN_DEVICE_FUNC const BooleanNotReturnType operator! () const
 
EIGEN_DEVICE_FUNC const RoundReturnType round () const
 
EIGEN_DEVICE_FUNC const RsqrtReturnType rsqrt () const
 
EIGEN_DEVICE_FUNC const SignReturnType sign () const
 
EIGEN_DEVICE_FUNC const SinReturnType sin () const
 
EIGEN_DEVICE_FUNC const SinhReturnType sinh () const
 
EIGEN_DEVICE_FUNC const SqrtReturnType sqrt () const
 
EIGEN_DEVICE_FUNC const SquareReturnType square () const
 
EIGEN_DEVICE_FUNC const TanReturnType tan () const
 
EIGEN_DEVICE_FUNC const TanhReturnType tanh () const
 

Typedef Documentation

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

Definition at line 5 of file ArrayCwiseUnaryOps.h.

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

Definition at line 3 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_acos_op<Scalar>, const Derived> AcosReturnType

Definition at line 19 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_arg_op<Scalar>, const Derived> ArgReturnType

Definition at line 4 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_asin_op<Scalar>, const Derived> AsinReturnType

Definition at line 20 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_atan_op<Scalar>, const Derived> AtanReturnType

Definition at line 21 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_boolean_not_op<Scalar>, const Derived> BooleanNotReturnType

Definition at line 10 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_ceil_op<Scalar>, const Derived> CeilReturnType

Definition at line 29 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_cosh_op<Scalar>, const Derived> CoshReturnType

Definition at line 24 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_cos_op<Scalar>, const Derived> CosReturnType

Definition at line 16 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_cube_op<Scalar>, const Derived> CubeReturnType

Definition at line 26 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_digamma_op<Scalar>, const Derived> DigammaReturnType

Definition at line 471 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_erfc_op<Scalar>, const Derived> ErfcReturnType

Definition at line 473 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_erf_op<Scalar>, const Derived> ErfReturnType

Definition at line 472 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_exp_op<Scalar>, const Derived> ExpReturnType

Definition at line 12 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_floor_op<Scalar>, const Derived> FloorReturnType

Definition at line 28 of file ArrayCwiseUnaryOps.h.

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

Definition at line 9 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_isfinite_op<Scalar>, const Derived> IsFiniteReturnType

Definition at line 32 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_isinf_op<Scalar>, const Derived> IsInfReturnType

Definition at line 31 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_isnan_op<Scalar>, const Derived> IsNaNReturnType

Definition at line 30 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_lgamma_op<Scalar>, const Derived> LgammaReturnType

Definition at line 470 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_log10_op<Scalar>, const Derived> Log10ReturnType

Definition at line 15 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_log1p_op<Scalar>, const Derived> Log1pReturnType

Definition at line 14 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_log_op<Scalar>, const Derived> LogReturnType

Definition at line 13 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_round_op<Scalar>, const Derived> RoundReturnType

Definition at line 27 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_rsqrt_op<Scalar>, const Derived> RsqrtReturnType

Definition at line 7 of file ArrayCwiseUnaryOps.h.

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

Definition at line 8 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_sinh_op<Scalar>, const Derived> SinhReturnType

Definition at line 23 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_sin_op<Scalar>, const Derived> SinReturnType

Definition at line 17 of file ArrayCwiseUnaryOps.h.

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

Definition at line 6 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_square_op<Scalar>, const Derived> SquareReturnType

Definition at line 25 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_tanh_op<Scalar>, const Derived> TanhReturnType

Definition at line 22 of file ArrayCwiseUnaryOps.h.

typedef CwiseUnaryOp<internal::scalar_tan_op<Scalar>, const Derived> TanReturnType

Definition at line 18 of file ArrayCwiseUnaryOps.h.

Function Documentation

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const AbsReturnType abs ( ) const
Returns
an expression of the coefficient-wise absolute value of *this

Example:

Output:

See also
Math functions, abs2()

Definition at line 43 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Abs2ReturnType abs2 ( ) const
Returns
an expression of the coefficient-wise squared absolute value of *this

Example:

Output:

See also
Math functions, abs(), square()

Definition at line 71 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const AcosReturnType acos ( ) const
inline
Returns
an expression of the coefficient-wise arc cosine of *this.

Example:

Output:

See also
Math functions, cos(), asin()

Definition at line 262 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArgReturnType arg ( ) const
Returns
an expression of the coefficient-wise phase angle of *this

Example:

Output:

See also
abs()

Definition at line 57 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const AsinReturnType asin ( ) const
inline
Returns
an expression of the coefficient-wise arc sine of *this.

Example:

Output:

See also
Math functions, sin(), acos()

Definition at line 276 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const AtanReturnType atan ( ) const
inline
Returns
an expression of the coefficient-wise arc tan of *this.

Example:

Output:

See also
Math functions, tan(), asin(), acos()

Definition at line 248 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const CeilReturnType ceil ( ) const
inline
Returns
an expression of the coefficient-wise ceil of *this.

Example:

Output:

See also
Math functions, floor(), round()

Definition at line 402 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const CosReturnType cos ( ) const
inline
Returns
an expression of the coefficient-wise cosine of *this.

This function computes the coefficient-wise cosine. The function MatrixBase::cos() in the unsupported module MatrixFunctions computes the matrix cosine.

Example:

Output:

See also
Math functions, sin(), acos()

Definition at line 202 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const CoshReturnType cosh ( ) const
inline
Returns
an expression of the coefficient-wise hyperbolic cos of *this.

Example:

Output:

See also
Math functions, tan(), sinh(), cosh()

Definition at line 318 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const CubeReturnType cube ( ) const
inline
Returns
an expression of the coefficient-wise cube of *this.

Example:

Output:

See also
Math functions, square(), pow()

Definition at line 360 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const DigammaReturnType digamma ( ) const
inline
Returns
an expression of the coefficient-wise digamma (psi, derivative of lgamma).
Note
This function supports only float and double scalar types. To support other scalar types, the user has to provide implementations of digamma(T) for any scalar type T to be supported.
See also
Math functions, Eigen::digamma(), Eigen::polygamma(), lgamma()

Definition at line 507 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const ErfReturnType erf ( ) const
inline
Returns
an expression of the coefficient-wise Gauss error function of *this.

Example:

Output:

Note
This function supports only float and double scalar types in c++11 mode. To support other scalar types, or float/double in non c++11 mode, the user has to provide implementations of erf(T) for any scalar type T to be supported.
See also
Math functions, erfc()

Definition at line 528 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const ErfcReturnType erfc ( ) const
inline
Returns
an expression of the coefficient-wise Complementary error function of *this.

Example:

Output:

Note
This function supports only float and double scalar types in c++11 mode. To support other scalar types, or float/double in non c++11 mode, the user has to provide implementations of erfc(T) for any scalar type T to be supported.
See also
Math functions, erf()

Definition at line 549 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const ExpReturnType exp ( ) const
inline
Returns
an expression of the coefficient-wise exponential of *this.

This function computes the coefficient-wise exponential. The function MatrixBase::exp() in the unsupported module MatrixFunctions computes the matrix exponential.

Example:

Output:

See also
Math functions, pow(), log(), sin(), cos()

Definition at line 88 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const FloorReturnType floor ( ) const
inline
Returns
an expression of the coefficient-wise floor of *this.

Example:

Output:

See also
Math functions, ceil(), round()

Definition at line 388 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const InverseReturnType inverse ( ) const
inline
Returns
an expression of the coefficient-wise inverse of *this.

Example:

Output:

See also
operator/(), operator*()

Definition at line 332 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const IsFiniteReturnType isFinite ( ) const
inline
Returns
an expression of the coefficient-wise isfinite of *this.

Example:

Output:

See also
isnan(), isinf()

Definition at line 444 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const IsInfReturnType isInf ( ) const
inline
Returns
an expression of the coefficient-wise isinf of *this.

Example:

Output:

See also
isnan(), isfinite()

Definition at line 430 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const IsNaNReturnType isNaN ( ) const
inline
Returns
an expression of the coefficient-wise isnan of *this.

Example:

Output:

See also
isfinite(), isinf()

Definition at line 416 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const LgammaReturnType lgamma ( ) const
inline
Returns
an expression of the coefficient-wise ln(|gamma(*this)|).

Example:

Output:

Note
This function supports only float and double scalar types in c++11 mode. To support other scalar types, or float/double in non c++11 mode, the user has to provide implementations of lgamma(T) for any scalar type T to be supported.
See also
Math functions, digamma()

Definition at line 490 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const LogReturnType log ( ) const
inline
Returns
an expression of the coefficient-wise logarithm of *this.

This function computes the coefficient-wise logarithm. The function MatrixBase::log() in the unsupported module MatrixFunctions computes the matrix logarithm.

Example:

Output:

See also
Math functions, exp()

Definition at line 105 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const Log10ReturnType log10 ( ) const
inline
Returns
an expression of the coefficient-wise base-10 logarithm of *this.

This function computes the coefficient-wise base-10 logarithm.

Example:

Output:

See also
Math functions, log()

Definition at line 135 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const Log1pReturnType log1p ( ) const
inline
Returns
an expression of the coefficient-wise logarithm of 1 plus *this.

In exact arithmetic, x.log() is equivalent to (x+1).log(), however, with finite precision, this function is much more accurate when x is close to zero.

See also
Math functions, log()

Definition at line 119 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const BooleanNotReturnType operator! ( ) const
inline
Returns
an expression of the coefficient-wise ! operator of *this
Warning
this operator is for expression of bool only.

Example:

Output:

See also
operator!=()

Definition at line 460 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const RoundReturnType round ( ) const
inline
Returns
an expression of the coefficient-wise round of *this.

Example:

Output:

See also
Math functions, ceil(), floor()

Definition at line 374 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const RsqrtReturnType rsqrt ( ) const
inline
Returns
an expression of the coefficient-wise inverse square root of *this.

This function computes the coefficient-wise inverse square root.

Example:

Output:

See also
pow(), square()

Definition at line 168 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const SignReturnType sign ( ) const
inline
Returns
an expression of the coefficient-wise signum of *this.

This function computes the coefficient-wise signum.

Example:

Output:

See also
pow(), square()

Definition at line 184 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const SinReturnType sin ( ) const
inline
Returns
an expression of the coefficient-wise sine of *this.

This function computes the coefficient-wise sine. The function MatrixBase::sin() in the unsupported module MatrixFunctions computes the matrix sine.

Example:

Output:

See also
Math functions, cos(), asin()

Definition at line 220 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const SinhReturnType sinh ( ) const
inline
Returns
an expression of the coefficient-wise hyperbolic sin of *this.

Example:

Output:

See also
Math functions, sin(), tanh(), cosh()

Definition at line 304 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const SqrtReturnType sqrt ( ) const
inline
Returns
an expression of the coefficient-wise square root of *this.

This function computes the coefficient-wise square root. The function MatrixBase::sqrt() in the unsupported module MatrixFunctions computes the matrix square root.

Example:

Output:

See also
Math functions, pow(), square()

Definition at line 152 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const SquareReturnType square ( ) const
inline
Returns
an expression of the coefficient-wise square of *this.

Example:

Output:

See also
Math functions, abs2(), cube(), pow()

Definition at line 346 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const TanReturnType tan ( ) const
inline
Returns
an expression of the coefficient-wise tan of *this.

Example:

Output:

See also
Math functions, cos(), sin()

Definition at line 234 of file ArrayCwiseUnaryOps.h.

EIGEN_DEVICE_FUNC const TanhReturnType tanh ( ) const
inline
Returns
an expression of the coefficient-wise hyperbolic tan of *this.

Example:

Output:

See also
Math functions, tan(), sinh(), cosh()

Definition at line 290 of file ArrayCwiseUnaryOps.h.



hebiros
Author(s): Xavier Artache , Matthew Tesch
autogenerated on Thu Sep 3 2020 04:09:48