acos

Syntax

acos(X)

Parameters

X is a scalar/vector/matrix/table.

Details

The inverse cosine function.

DolphinDB acos and TA-Lib ACOS are mathematically identical in semantic meaning. The difference is that TA-Lib’s ACOS is a Math Transform function whose inputs and outputs are primarily one-dimensional arrays, whereas DolphinDB’s acos can operate on scalars, vectors, matrices, or tables, and preserves the structure of the input data.