pow

Description

Returns a number ‘base’ raised to the specified power ‘exponent’.

Return type

float64

Domain

This is a scalar function (calculates a single output value for a single input row.)

Categories

Usage

pow(base, exponent)

Argument

Type

Optional

Repeatable

Restrictions

base

numeric

no

no

none

exponent

numeric

no

no

none

Examples

make_col power:pow(@.x, @.y)

Create a column ‘power’ with the result of column ‘base’ to the power of column ‘exponent’