PolynomialRoot
The -th root of the polynomial in its one unknown, in Wolfram's order: real roots first, increasing, then complex roots by real part and imaginary part. Wolfram's Root; compute-engine's Root is the -th root.
PolynomialRoot(p, k)the -th root of , exact: rational and quadratic roots are written as radicals, others stay a name for the rootTyped signatures
| Type | Package | Applies |
|---|---|---|
(any, integer) -> number | number-theory | always |
Details
- A root of degree 3 or more stays
PolynomialRoot(p, k), an exact algebraic number that MinimalPolynomial, NumberFieldDiscriminant and the other number-field heads read - Roots of a reducible are left unevaluated rather than reduced to a factor's
Examples
About
| Examples | 3 |
|---|---|
| Checked against | Wolfram Language 2 agree1 differ |
Implementation
primitive · kernela kernel — an algorithm over mutable state that would not be readable as a tree
nativeengine
typescriptpackages/ce-patches/src/compute-engine/library/algebraic-numbers.tsmapped
wolframpackages/oracle/src/mappings.tsWolfram's Root, which compute-engine's nth-root Root would shadow.
See also: MinimalPolynomial, NumberFieldIntegralBasis, Root