Name: pow
Category: Operators
Description:
Calculates the power of x to y, x^y.
Syntax:
x ^ y
pow(x, y)
Examples:
2^3
8
2*2*2
8
1 + e ^ (pi * i)
Error: Undefined symbol i
pow([[1, 2], [4, 3]], 2)
[[9, 8], [16, 17]]
pow([[1, 2], [4, 3]], -1)
[[-0.6, 0.4], [0.8, -0.2]]
See also: multiply, nthRoot, nthRoots, sqrt