Complex.Tanh(Complex) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.