e-prem-sequence-primitive

▸ function ePremSequencePrimitive (f: number[][], g: number[][]): number[][][]

Defined in euclidean-division-related/expansion/e-prem-sequence-primitive.ts:23

Returns the primitive pseudo remainder sequence of a/b.

Parameters:

NameTypeDescription
fnumber[][]the polynomial a in the formula a = bq + r; the polynomial is given with coefficients as a dense array of Shewchuk expansions 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;

Returns: number[][][]