cos

Syntax

cos(X)

Details

Apply the function of cos to X.

Note:
DolphinDB's cos function works the same as NumPy's numpy.cos, except that it only accepts a single parameter, X, and does not support parameters like out or where in numpy.cos.

Parameters

X is a scalar/vector/matrix.

Returns

A scalar/vector/matrix of type DOUBLE.