e-is-rational-multiple-of
▸ function eIsRationalMultipleOf
(a
: number[][], b
: number[][]): boolean
Defined in basic/expansion/e-is-rational-multiple-of.ts:16
Returns true if either polynomial is an exact rational multiple of the other.
Parameters:
Name | Type | Description |
---|---|---|
a | number[][] | a polynomial with coefficients given densely as an array of Shewchuk expansions from highest to lowest power, e.g. [[5],[-3],[0]] represents the polynomial 5x^2 - 3x |
b | number[][] | another polynomial |
Returns: boolean