The TAN function computes the tangent of X.
Result = TAN(X)
Returns the tangent of the specified angle.
The angle for which the tangent is desired, specified in radians. If X is double-precision floating or complex, the result is of the same type. All other types are converted to single-precision floating-point and yield floating-point results. If X is an array, the result has the same structure, with each element containing the tangent of the corresponding element of X.
This routine is written to make use of IDL's thread pool, which can increase execution speed on systems with multiple CPUs. The values stored in the
; Find the tangent of 0.5 radians and store the result in ; the variable T: T = TAN(0.5)