sylvesterCount(f,g,a,b)
sylvesterCount(f,g)
This computes the difference between the number of real roots of f in the interval $(a,b]$ where g is positive, and the number of real roots of f in the interval $[a,b)$ where g is negative. This is computed by taking the difference in variations of the reduced Sylvester sequence of f and g.
|
|
|
|
|
|
The object sylvesterCount is a method function with options.
The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/RealRoots.m2:801:0.