Click or drag to resize
ComplexTanh Method
Returns the hyperbolic tanh of a Complex.

Namespace: Imsl.Math
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public static Complex Tanh(
	Complex z
)

Parameters

z
Type: Imsl.MathComplex
A Complex object.

Return Value

Type: Complex
A newly constructed Complex initialized to the hyperbolic tangent of the argument.
Remarks

If z = x+iy,

\tanh(\bar{z}) = \overline{\tanh(z)} and tanh is odd.

\tanh(+0 + i0) returns +0 + i0.

\tanh(+\infty + iy) returns 1 + i0, for all positive-signed numbers y.

\tanh(x + i\infty ) returns \NaN + i\NaN, for finite x.

\tanh(+\infty + i\NaN) returns 1 \pm  i0 (where the sign of the imaginary part of the result is unspecified).

\tanh(\NaN + i0) returns \NaN + i0.

\tanh(\NaN + iy) returns \NaN + i\NaN, for all nonzero numbers y.

\tanh(x + i\NaN) returns \NaN + i\NaN, for finite x.

\tanh(\NaN + i\NaN) returns \NaN + i\NaN.

See Also