REDUCE

9.12 ROOT_VAL Operator

The ROOT_VAL operator takes a single univariate polynomial as argument, and returns a list of root values at system precision (or greater if required to separate roots). It is used with the syntax

        ROOT_VAL(EXPRN:univariate polynomial):list.

For example, the sequence

        on rounded; root_val(x^3-x-1);

gives the result

        {0.562279512062*I - 0.662358978622, - 0.562279512062*I  
 
          - 0.662358978622,1.32471795724}