Power (function)


 * This page describes the dyadic function. For the monadic function that uses $$e$$ as a base, see Exponential. For the iteration operator, see Power (operator).

is a dyadic scalar function that computes the exponentiation function of the two arguments, so that  is   raised to the power. Power shares the glyph  with the monadic arithmetic function Exponential.

Examples
A common technique is to choose sign based on a Boolean array:

Properties
For positive integer,   equals the product of   copies of. When  is 0,   equals 1, possibly except when   is also 0 (since zero to the power of zero is undefined in mathematics).

Negating the exponent (right argument) gives the reciprocal of the return value.

If the exponent is the reciprocal of some number n, the result is the n-th root of the base. For example, a right argument of  gives the square root.

Documentation

 * Dyalog
 * APLX
 * J Dictionary, NuVoc