b-prem-sequence-primitive

▸ function bPremSequencePrimitive (f: bigint[], g: bigint[]): bigint[][]

Defined in euclidean-division-related/bigint/b-prem-sequence-primitive.ts:23

Returns the primitive pseudo remainder sequence of a/b.

Parameters:

NameTypeDescription
fbigint[]the polynomial a in the formula a = bq + r; the polynomial is given with coefficients as a dense array of bigints from highest to lowest power, e.g. [5n,-3n,0n] represents the polynomial 5x^2 - 3x
gbigint[]the polynomial b in the formula a = bq + r;

Returns: bigint[][]