series_tan()

Calculates the element-wise tangent of the numeric series input.

Syntax

series_tan(series)

Learn more about syntax conventions.

Parameters

Name Type Required Description
series dynamic ✔️ An array of numeric values on which the tangent function is applied.

Returns

A dynamic array of calculated tangent function values. Any non-numeric element yields a null element value.

Example

print arr = dynamic([-1, 0, 1])
| extend arr_tan = series_tan(arr)

Output

arr arr_tan
[-6.5,0,8.2] [-1.5574077246549023,0.0,1.5574077246549023]