atan

Syntax

atan(X)

Parameters

X is a scalar/vector/matrix/table.

Details

The inverse tangent (arctan) function.

Difference from Python TA-Lib’s ATAN: Both functions calculate the inverse tangent and return radians. TA-Lib’s ATAN(close) is a Math Transform function for vector input and returns an array, whereas DolphinDB’s atan(X) accepts a scalar, vector, matrix, or table and preserves the input form.