Share via


Complex.Tanh Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Returns the hyperbolic tangent of the specified complex number.

Namespace:  System.Numerics
Assembly:  System.Numerics (in System.Numerics.dll)

Syntax

'Declaration
Public Shared Function Tanh ( _
    value As Complex _
) As Complex
public static Complex Tanh(
    Complex value
)

Parameters

Return Value

Type: System.Numerics.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)

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.