$MaxRootDegree

$MaxRootDegree

specifies the maximum degree of polynomial to allow in Root objects.

Details

Examples

open allclose all

Basic Examples  (1)

Evaluation of Root objects with high degree minimal polynomials may be slow:

The result is a valid algebraic number with minimal polynomial proven irreducible:

Root does not attempt factoring polynomials with degrees higher than $MaxRootDegree:

The result is not a valid algebraic number:

Scope  (2)

The degree of the sum of two Root objects may be as high as the product of their degrees:

This prevents the Wolfram Language from creating Root objects with degrees greater than 100:

Root objects already created are cached; this removes the cached results:

Now RootReduce is not allowed to create a Root object with degree 110:

This resets $MaxRootDegree to the default value:

By default, the Wolfram Language does not use Root objects with degrees exceeding 1000:

Increasing the value of $MaxRootDegree allows the Wolfram Language to create the algebraic number:

Since this Root object is real, computing its numeric approximation is reasonably fast:

Wolfram Research (1996), $MaxRootDegree, Wolfram Language function, https://reference.wolfram.com/language/ref/$MaxRootDegree.html.

Text

Wolfram Research (1996), $MaxRootDegree, Wolfram Language function, https://reference.wolfram.com/language/ref/$MaxRootDegree.html.

CMS

Wolfram Language. 1996. "$MaxRootDegree." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/$MaxRootDegree.html.

APA

Wolfram Language. (1996). $MaxRootDegree. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/$MaxRootDegree.html

BibTeX

@misc{reference.wolfram_2024_$maxrootdegree, author="Wolfram Research", title="{$MaxRootDegree}", year="1996", howpublished="\url{https://reference.wolfram.com/language/ref/$MaxRootDegree.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_$maxrootdegree, organization={Wolfram Research}, title={$MaxRootDegree}, year={1996}, url={https://reference.wolfram.com/language/ref/$MaxRootDegree.html}, note=[Accessed: 21-December-2024 ]}