PYTHON tanh

is this article helpful?
|
Python replacement for PHP's tanh [ edit | history ]
import math
math.tanh(arg)

PHP tanh

PHP original manual for tanh [ show | php.net ]

tanh

(PHP 4 >= 4.1.0, PHP 5)

tanhHyperbolic tangent

Description

float tanh ( float $arg )

Returns the hyperbolic tangent of arg , defined as sinh(arg)/cosh(arg).

Parameters

arg

The argument to process

Return Values

The hyperbolic tangent of arg

See Also