Complex.Tanh(Complex) Method

Definition

Returns the hyperbolic tangent of the specified complex number.

public:
 static System::Numerics::Complex Tanh(System::Numerics::Complex value);
public static System.Numerics.Complex Tanh (System.Numerics.Complex value);
static member Tanh : System.Numerics.Complex -> System.Numerics.Complex
Public Shared Function Tanh (value As Complex) As Complex

Parameters

value
Complex

A complex number.

Returns

Complex

The hyperbolic tangent of value.

Remarks

The Tanh method for complex numbers corresponds to the Math.Tanh method for real numbers.

The Tanh method uses the following formula to calculate the hyperbolic tangent of the complex number value:

Sinh(value) / Cosh(value)

Applies to

See also