tan
Syntax
tan(X)
Details
The tangent function.
Note:
- DolphinDB's
tanfunction accepts only one argument and supports calculations on scalars, vectors, and matrices. By contrast, NumPy'stanfunction is a generalized ufunc that supports N-dimensional arrays of any shape. You can control the output and apply conditional computation through parameters such as out and where. - DolphinDB
tanand TA-LibTANprovide the same functionality. The difference is that DolphinDBtansupportsscalars, vectors, and matrices as inputs, whereas TA-LibTANonly supports one-dimensional arrays.
Parameters
X is a scalar/vector/matrix.
Returns
DOUBLE type with the same data form as X.
