cos(x [, degrees:T or radians:T or cycles:T]), x REAL or a structure with REAL components x in radians (default), cycles, or degrees as set by option "angles" or the optional keyword |

cos(x) computes the cosine of the values of the elements of x, where x is a REAL scalar, vector, matrix or array. The result has the same shape as x. The argument is considered to be in units of radians, degrees or cycles as determined by the value of option 'angles'. The default is radians. See topic 'options'. cos(x, radians:T), cos(x, degrees:T), cos(x, cycles:T) interpret x as in the indicated units, regardless of the value of option 'angles'. When any element of x is MISSING or is too large (> 5000000*PI radians in absolute value), the corresponding element of the result is MISSING and a warning message is printed. When x is a structure, all of whose non-structure components are REAL, cos(x [,UNITS:T]), where UNITS is one of 'radians', 'degrees' or 'cycles', is a structure of the same shape and with the same component names as x with each non-structure component transformed by cos(). See topic 'transformations' for more information on cos(), including its use with a CHARACTER argument.

Gary Oehlert 2003-01-15