series_tan()
Learn how to use the series_tan() function to calculate the element-wise tangent of the numeric series input.
Calculates the element-wise tangent of the numeric series input.
Syntax
series_tan(series)
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] |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.