b-remove-leading-zeros
▸ function bRemoveLeadingZeros
(p
: bigint[]): bigint[]
Defined in basic/bigint/b-remove-leading-zeros.ts:9
If the highest power coefficient of the given polynomial is 0 then removeLeadingZeros can be called to remove all such highest terms so that the returned array is a valid presentation of a polynomial.
Parameters:
Name | Type | Description |
---|---|---|
p | bigint[] | a polynomial whose leading zeros should be removed |
Returns: bigint[]