Editar

Compartir a través de


series_pow()

Applies to: ✅ Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft Sentinel

Calculates the element-wise power of two numeric series inputs.

Syntax

series_pow(series1, series2)

Learn more about syntax conventions.

Parameters

Name Type Required Description
series1, series2 dynamic ✔️ Arrays of numeric values. The first array, or base, is element-wise raised to the power of the second array, or power, into a dynamic array result.

Returns

A dynamic array of calculated element-wise power operation between the two inputs. Any non-numeric element or non-existing element, such as in the case of arrays of different sizes, yields a null element value.

Example

print x = dynamic([1, 2, 3, 4]), y=dynamic([1, 2, 3, 0.5])
| extend x_pow_y = series_pow(x, y) 

Output

x y x_pow_y
[1,2,3,4] [1,2,3,0.5] [1.0,4.0,27.0,2.0]