SturmHabichtPackage(R, UP)ΒΆ
sturm.spad line 1 [edit on github]
This package provides functions for counting real roots of univariate polynomials over an OrderedIntegralDomain.
- countRealRoots: UP -> Integer
countRealRoots(p)
says how many real rootsp
has
- countRealRootsMultiple: UP -> Integer if R has GcdDomain
countRealRootsMultiple(p)
says how many real rootsp
has, counted with multiplicity
- SturmHabicht: (UP, UP) -> Integer
SturmHabicht(p1, p2)
computesc_
{+}-c_
{-} wherec_
{+} is the number of real roots ofp1
withp2>0
andc_
{-} is the number of real roots ofp1
withp2<0
. Ifp2=1
what you get is the number of real roots ofp1
.
- SturmHabichtCoefficients: (UP, UP) -> List R
SturmHabichtCoefficients(p1, p2)
computes the principal Sturm-Habicht coefficients ofp1
andp2
- SturmHabichtMultiple: (UP, UP) -> Integer if R has GcdDomain
SturmHabichtMultiple(p1, p2)
computesc_
{+}-c_
{-} wherec_
{+} is the number of real roots ofp1
withp2>0
andc_
{-} is the number of real roots ofp1
withp2<0
. Ifp2=1
what you get is the number of real roots ofp1
.
- SturmHabichtSequence: (UP, UP) -> List UP
SturmHabichtSequence(p1, p2)
computes the Sturm-Habicht sequence ofp1
andp2