Note: This functor is optional!
Computes the polynomial subresultant of two polynomials p and q of degree n and m, respectively, as defined in the documentation of PolynomialTraits_d::PolynomialSubresultants. Moreover, for Sres_{i}(p,q), polynomials u_{i} and v_{i} with deg u_{i} ≤ mi1 and deg v_{i} ≤ ni1 are computed such that Sres_{i}(p,q)=u_{i} p + v_{i} q. u_{i} and v_{i} are called the cofactors of Sres_{i}(p,q).
The result is written in three output ranges, each of length min {n,m}+1, starting with the 0th subresultant and the corresponding cofactors.
 

 
computes the subresultants of p and q, and the cofactors, with respect to the outermost variable. Each element is of type PolynomialTraits_d::Polynomial_d.  
 

 
computes the subresultants of p and q, and the cofactors, with respect to x_{i}. Each element is of type PolynomialTraits_d::Polynomial_d. 
Polynomial_d
PolynomialTraits_d
PolynomialTraits_d::Resultant
PolynomialTraits_d::PolynomialSubresultants
PolynomialTraits_d::PrincipalSubresultants
PolynomialTraits_d::SturmHabichtSequenceWithCofactors