asPower method

Expression asPower()

Returns the power form of this root. E.g. root_5(x) = x^(1/5)

This method is used to determine the derivation of a root expression.

Implementation

Expression asPower() => Power(arg, Divide(Number(1), Number(n)));