pow

Calculates x to the power n. Depending on input, function can return scalar, vector, matrix or complex number.

Arguments

  1. Real or complex value x
  2. Real value n

Output

Value of n-th power of x

Examples

pow