| Group: | Mathematical Functions |
| Topic: | Trigonometric Functions |
| See also: | acos acosh asin asinh atan atan2 atanh cos cosh sin sinh tanh |
| Function: | tan | |
| Description: | Returns the tangent in radian of the elements of an array. |
| Usage: | z = tan (x) | |
| Input: | ||
| x | array | |
| Output: | ||
| z | array | |
x = #(pi/3, pi/4)~#(pi, 3/4*pi)
tan (x)
setenv("outputformat","%8.5f")
tan(x)
setenv("outputformat","%8.5lg")
Contents of tan [1,] 1.7321 -1.2251e-16 [2,] 1 -1 Contents of tan [1,] 1.73205 0.00000 [2,] 1.00000 -1.00000
| Group: | Mathematical Functions |
| Topic: | Trigonometric Functions |
| See also: | acos acosh asin asinh atan atan2 atanh cos cosh sin sinh tanh |