toysolver-0.0.5: Assorted decision procedures for SAT, Max-SAT, PB, MIP, etc

Portabilityportable
Stabilityprovisional
Maintainermasahiro.sakai@gmail.com
Safe HaskellNone

Data.Polynomial.RootSeparation.Sturm

Description

Reference:

Synopsis

Documentation

type SturmChain = [UPolynomial Rational]Source

Sturm's chain (Sturm's sequence)

sturmChain :: UPolynomial Rational -> SturmChainSource

Sturm's sequence of a polynomial

numRoots :: UPolynomial Rational -> Interval Rational -> IntSource

The number of distinct real roots of p in a given interval

numRoots' :: SturmChain -> Interval Rational -> IntSource

The number of distinct real roots of p in a given interval. This function takes p's sturm chain instead of p itself.

separate :: UPolynomial Rational -> [Interval Rational]Source

Disjoint intervals each of which contains exactly one real roots of the given polynoimal p. The intervals can be further narrowed by narrow or narrow'.

separate' :: SturmChain -> [Interval Rational]Source

Disjoint intervals each of which contains exactly one real roots of the given polynoimal p. The intervals can be further narrowed by narrow or narrow'. This function takes p's sturm chain instead of p itself.