series_log()

Calculates the element-wise natural logarithm function (base-e) of the numeric series input.

Syntax

series_log(series)

Learn more about syntax conventions.

Parameters

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

Returns

Dynamic array of the calculated natural logarithm function. Any non-numeric element yields a null element value.

Example

print s = dynamic([1,2,3])
| extend s_log = series_log(s)

Output

s s_log
[1,2,3] [0.0,0.69314718055994529,1.0986122886681098]