C
- coefficient type.public class RealRootsSturm<C extends RingElem<C> & Rational> extends RealRootsAbstract<C>
Constructor and Description |
---|
RealRootsSturm() |
Modifier and Type | Method and Description |
---|---|
Interval<C> |
excludeZero(Interval<C> iv,
java.util.List<GenPolynomial<C>> S)
Exclude zero.
|
Interval<C> |
invariantSignInterval(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g)
Invariant interval for algebraic number sign.
|
Interval<C> |
invariantSignInterval(Interval<C> iv,
GenPolynomial<C> f,
java.util.List<GenPolynomial<C>> Sg)
Invariant interval for algebraic number sign.
|
long |
realRootCount(Interval<C> iv,
GenPolynomial<C> f)
Number of real roots in interval.
|
long |
realRootCount(Interval<C> iv,
java.util.List<GenPolynomial<C>> S)
Number of real roots in interval.
|
java.util.List<Interval<C>> |
realRoots(GenPolynomial<C> f)
Isolating intervals for the real roots.
|
java.util.List<Interval<C>> |
realRoots(Interval<C> iv,
java.util.List<GenPolynomial<C>> S)
Isolating intervals for the real roots.
|
java.util.List<GenPolynomial<C>> |
sturmSequence(GenPolynomial<C> f)
Sturm sequence.
|
approximateRoot, approximateRoots, bisectionPoint, halfInterval, invariantMagnitudeInterval, isApproximateRoot, isApproximateRoot, isApproximateRoot, magnitudeBound, realIntervalMagnitude, realIntervalSign, realMagnitude, realRootBound, realRoots, realRoots, realSign, refineInterval, refineIntervals, signChange
public RealRootsSturm()
public java.util.List<GenPolynomial<C>> sturmSequence(GenPolynomial<C> f)
f
- univariate polynomial.public java.util.List<Interval<C>> realRoots(GenPolynomial<C> f)
public java.util.List<Interval<C>> realRoots(Interval<C> iv, java.util.List<GenPolynomial<C>> S)
iv
- interval with f(left) * f(right) != 0.S
- sturm sequence for f and I.public long realRootCount(Interval<C> iv, java.util.List<GenPolynomial<C>> S)
iv
- interval with f(left) * f(right) != 0.S
- sturm sequence for f and I.public long realRootCount(Interval<C> iv, GenPolynomial<C> f)
realRootCount
in interface RealRoots<C extends RingElem<C> & Rational>
realRootCount
in class RealRootsAbstract<C extends RingElem<C> & Rational>
iv
- interval with f(left) * f(right) != 0.f
- univariate polynomial.public Interval<C> invariantSignInterval(Interval<C> iv, GenPolynomial<C> f, GenPolynomial<C> g)
invariantSignInterval
in class RealRootsAbstract<C extends RingElem<C> & Rational>
iv
- root isolating interval for f, with f(left) * f(right) < 0.f
- univariate polynomial, non-zero.g
- univariate polynomial, gcd(f,g) == 1.public Interval<C> invariantSignInterval(Interval<C> iv, GenPolynomial<C> f, java.util.List<GenPolynomial<C>> Sg)
iv
- root isolating interval for f, with f(left) * f(right) < 0.f
- univariate polynomial, non-zero.Sg
- Sturm sequence for g, a univariate polynomial with gcd(f,g) ==
1.public Interval<C> excludeZero(Interval<C> iv, java.util.List<GenPolynomial<C>> S)
iv
- root isolating interval with f(left) * f(right) < 0.S
- sturm sequence for f and I.