Library: | math |
See also: | ccos ccosh cexp cln csin csinh csqrt ctanh |
Quantlet: | ctan | |
Description: | Complex tangens |
Usage: | z = ctan(x) | |
Input: | ||
x | n x p x d1 x ... x dn complex array | |
Output: | ||
z | n x p x d1 x ... x dn complex array |
library("math") x = complex(#(4,16), #(9,1)) z = ctan(x)
Contents of z.re [1,] 3.0136e-08 [2,] 0.11997 Contents of z.im [1,] 1 [2,] 0.78906