Root constructor

Root(
  1. int n,
  2. Expression arg
)

Creates the n-th root of arg.

For example, to create the 5th root of x:

root = Root(5, Variable('x'));

Implementation

Root(this.n, Expression arg) : super._unary('nrt', arg);