module function Math.#tanh
tanh(x) -> Float
-
x の双曲線正接関数の値を返します。
定義
tanh(x) = sinh(x) / cosh(x)
- [PARAM] x:
- 実数
- [RETURN]
- [-1, 1] の範囲の実数
tanh(z) -> Complex
[redefined by complex]-
複素関数としてのtanh関数(双曲線tan関数)の結果を返します。
tanh関数は以下で定義されます。
tanh(z) = sinh(z) / cosh(z)
- [PARAM] z:
- 複素数
module Math