tan Syntax tan(X) Details The tangent function. Parameters X is a scalar/vector/matrix. Returns DOUBLE type with the same data form as X. Examples tan(0 1 2); // output: [0,1.557408,-2.185040] Related functions: asin, acos, atan, sin, cos.
Examples tan(0 1 2); // output: [0,1.557408,-2.185040] Related functions: asin, acos, atan, sin, cos.