series_cos()
Calculates the element-wise cosine function of the numeric series input.
Syntax
series_cos(
series)
Learn more about syntax conventions.
Parameters
Name | Type | Required | Description |
---|---|---|---|
series | dynamic |
✔️ | An array of numeric values over which the cosine function is applied. |
Returns
Dynamic array of calculated cosine function values. Any non-numeric element yields a null
element value.
Example
print arr = dynamic([-1,0,1])
| extend arr_cos = series_cos(arr)
Output
arr | arr_cos |
---|---|
[-6.5,0,8.2] | [0.54030230586813976,1.0,0.54030230586813976] |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for