prem-sequence-subresultant

▸ function premSequenceSubresultant (f: number[], g: number[], sturm?: boolean): number[][][]

Defined in euclidean-division-related/double/prem-sequence-subresultant.ts:30

Returns the subresultant pseudo remainder sequence of a/b with the resulting polynomials given with coefficients as Shewchuk expansions.

Parameters:

NameTypeDefault valueDescription
fnumber[]-the polynomial a in the formula a = bq + r; the polynomial is given with coefficients as a dense array of double precision floating point numbers from highest to lowest power, e.g. [5,-3,0] represents the polynomial 5x^2 - 3x
gnumber[]-the polynomial b in the formula a = bq + r;
sturmbooleanfalseif set to true then calculate a Sturm sequence instead

Returns: number[][][]