root

Calculates the n-th root of a inputted value x. 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 root

Examples

root