b-is-rational-multiple-of

▸ function bIsRationalMultipleOf (a: bigint[], b: bigint[]): boolean

Defined in basic/bigint/b-is-rational-multiple-of.ts:14

Returns true if either polynomial is an exact rational multiple of the other.

Parameters:

NameTypeDescription
abigint[]a polynomial with coefficients given densely as an array of bigints from highest to lowest power, e.g. [5n,-3n,0n] represents the polynomial 5x^2 - 3x
bbigint[]another polynomial

Returns: boolean