| Group: | Mathematical Functions |
| Subgroup: | Trigonometric Functions |
| See also: | acos acosh asin asinh atan atan2 atanh cosh sin sinh tan tanh |
| Function: | cos | |
| Description: | cos returns the cosine in radian of the elements of an array. |
| Usage: | z = cos (x) | |
| Input: | ||
| x | d1 x d2 x ... x dn array | |
| Output: | ||
| z | d1 x d2 x ... x dn array | |
x = #(pi/2, pi/4)~#(pi, 3/4*pi) cos (x)
[1,] 6.1232e-17 -1 [2,] 0.70711 -0.70711
| Group: | Mathematical Functions |
| Subgroup: | Trigonometric Functions |
| See also: | acos acosh asin asinh atan atan2 atanh cosh sin sinh tan tanh |