Group: | Mathematical Functions |
Topic: | Trigonometric Functions |
See also: | acos acosh asin asinh atan atan2 atanh cos cosh sin sinh tan |
Function: | tanh | |
Description: | Returns the hyperbolic tangent of the elements of an array. |
Usage: | z = tanh (x) | |
Input: | ||
x | array | |
Output: | ||
z | array |
x = #(0, -2)~#(3, 10) tanh(x)
Contents of tanh [1,] 0 0.99505 [2,] -0.96403 1