Complex.Tanh Method (Complex)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the hyperbolic tangent of the specified complex number.

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

public static Complex Tanh(
	Complex value


Type: System.Numerics.Complex

A complex number.

Return Value

Type: System.Numerics.Complex

The hyperbolic tangent of value.

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)

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0
Windows Phone
Available since 8.1
Return to top