convert/RootOf
convert radicals and I to RootOf notation
Calling Sequence
Parameters
Description
Examples
Compatibility
convert(expr, RootOf)
convert(expr, RootOf, form=selector)
expr
-
expression
form=selector
selector could be one of the three values: index, interval, or numeric; this is an option to convert between RootOf selectors, namely range/interval selector, numeric selector, and the index selector. For information on these selectors, see RootOf.
The convert/RootOf function changes all occurrences of radicals (may be algebraic constants or functions), to indexed RootOf notation.
Usually, the radical Apm, for integers p < m, is transformed into the expression RootOf(_Z^m-A,index=1)^p.
I is replaced by RootOf(_Z^2+1,index=1)
This function is mapped recursively over expressions. In particular, nested radicals are converted. If the input expression is an unnamed table then the conversion routine is mapped onto the elements of the table.
This function uses radfield to convert radicals into independent RootOfs.
To convert RootOf notation to I and radicals (where possible) use convert(expr, radical).
To convert RootOf notation between different selectors, use form=selector to select the target selector format.
convert⁡215,RootOf
RootOf⁡_Z5−2,index=1
convert⁡1+21213⁢I,RootOf
RootOf⁡_Z2+1,index=1⁢RootOf⁡_Z3−1−RootOf⁡_Z2−2,index=1,index=1
convert⁡1+212⁢I,RootOf
RootOf⁡_Z2+1,index=1⁢1+RootOf⁡_Z2−2,index=1
convert⁡214+213,RootOf
RootOf⁡_Z4−2,index=1+RootOf⁡_Z3−2,index=1
convert⁡x2+2⁢x+112,RootOf
RootOf⁡_Z2−x2−2⁢x−1,index=1
convert⁡x3−6⁢x2−6⁢x−712,RootOf
RootOf⁡−x3+_Z2+6⁢x2+6⁢x+7,index=1
convert⁡,radical
x3−6⁢x2−6⁢x−7
a≔RootOf⁡x3−x−1,index=1
a≔RootOf⁡_Z3−_Z−1,index=1
convert⁡a,RootOf,form=interval
RootOf⁡_Z3−_Z−1,103493597812500..662358981500000000
convert⁡a,RootOf,form=numeric
RootOf⁡_Z3−_Z−1,1.324717957
b≔RootOf⁡_Z5−_Z−1,1
convert⁡b,RootOf,form=index
RootOf⁡_Z5−_Z−1,index=1
convert⁡b,RootOf,form=interval
RootOf⁡_Z5−_Z−1,11673039731000000000..11673039831000000000
The convert/RootOf command was updated in Maple 18.
The form parameter was introduced in Maple 18.
For more information on Maple 18 changes, see Updates in Maple 18.
See Also
allvalues
convert
convert/radical
evala/Algfield
radfield
RootOf
Download Help Document