pow
relationalai.semantics.std.math
pow(base: NumberValue, exponent: NumberValue) -> ExpressionRaise a base to an exponent.
Parameters
Section titled “Parameters”
(baseNumberValue) - The base value.
(exponentNumberValue) - The exponent.
Returns
Section titled “Returns”Expression- AnExpressioncomputingbase^exponent. ReturnsFloat.
Examples
Section titled “Examples”Raise to a power:
>>> select(math.pow(2, 8))>>> select(math.pow(Investment.principal, Investment.years))