CGAL 4.4 - Polynomial
|
Note: This functor is optional!
Computes the Sturm-Habicht polynomials of a polynomial f of degree n, as defined in the documentation of PolynomialTraits_d::SturmHabichtSequence
. Moreover, for Sthai(f), polynomials ui and vi with degui≤n−i−2 and degvi≤n−i−1 are computed such that Sresi(p,q)=uif+vif′. ui and vi are called the cofactors of Sthai(f).
The result is written in three output ranges, each of length min{n,m}+1, starting with the 0-th Sturm-Habicht polynomial Stha0(f) and the corresponding cofactors.
Operations | |
template<typename OutputIterator1 , typename OutputIterator2 , typename OutputIterator3 > | |
OutputIterator1 | operator() (Polynomial_d f, OutputIterator1 stha, OutputIterator2 co_f, OutputIterator3 co_fx) |
computes the Sturm-Habicht sequence of f, and the cofactors, with respect to the outermost variable. More... | |
template<typename OutputIterator1 , typename OutputIterator2 , typename OutputIterator3 > | |
OutputIterator1 | operator() (Polynomial_d f, OutputIterator1 stha, OutputIterator2 co_f, OutputIterator3 co_fx, int i) |
computes the Sturm-Habicht sequence of f, and the cofactors, with respect to xi. More... | |
OutputIterator1 PolynomialTraits_d::SturmHabichtSequenceWithCofactors::operator() | ( | Polynomial_d | f, |
OutputIterator1 | stha, | ||
OutputIterator2 | co_f, | ||
OutputIterator3 | co_fx | ||
) |
computes the Sturm-Habicht sequence of f, and the cofactors, with respect to the outermost variable.
Each element is of type PolynomialTraits_d::Polynomial_d
.
OutputIterator1 PolynomialTraits_d::SturmHabichtSequenceWithCofactors::operator() | ( | Polynomial_d | f, |
OutputIterator1 | stha, | ||
OutputIterator2 | co_f, | ||
OutputIterator3 | co_fx, | ||
int | i | ||
) |
computes the Sturm-Habicht sequence of f, and the cofactors, with respect to xi.
Each element is of type PolynomialTraits_d::Polynomial_d
.