RationalUnivariateRepresentationPackage(R, ls)ΒΆ
zerodim.spad line 519 [edit on github]
A package for computing the rational univariate representation of a zero-dimensional algebraic variety given by a regular triangular set. This package is essentially an interface for the InternalRationalUnivariateRepresentationPackage constructor. It is used in the ZeroDimensionalSolvePackage for solving polynomial systems with finitely many solutions.
- rur: (List Polynomial R, Boolean) -> List Record(complexRoots: SparseUnivariatePolynomial R, coordinates: List Polynomial R)
rur(lp, univ?)
returns a rational univariate representation oflp
. This assumes thatlp
defines a regular triangularts
whose associated variety is zero-dimensional overR
.rur(lp, univ?)
returns a list of items[u, lc]
whereu
is an irreducible univariate polynomial and eachc
inlc
involves two variables: one fromls
, called the coordinate ofc
, and an extra variable which represents any root ofu
. Every root ofu
leads to a tuple of values for the coordinates oflc
. Moreover, a pointx
belongs to the variety associated withlp
iff there exists an item[u, lc]
inrur(lp, univ?)
and a rootr
ofu
such thatx
is given by the tuple of values for the coordinates oflc
evaluated atr
. Ifuniv?
istrue
then each polynomialc
will have a constant leading coefficientw
.r
.t
. its coordinate. See the example which illustrates the ZeroDimensionalSolvePackage package constructor.
- rur: (List Polynomial R, Boolean, Boolean) -> List Record(complexRoots: SparseUnivariatePolynomial R, coordinates: List Polynomial R)
rur(lp, univ?, check?)
returns the same asrur(lp, true)
. Moreover, ifcheck?
istrue
then the result is checked.
- rur: List Polynomial R -> List Record(complexRoots: SparseUnivariatePolynomial R, coordinates: List Polynomial R)
rur(lp)
returns the same asrur(lp, true)