b-abs-coeff
▸ function bAbsCoeff
(p
: bigint[]): bigint[]
Defined in basic/bigint/b-abs-coeff.ts:11
Returns the polynomial with all coeffients the absolute value of the given polynomial.
Parameters:
Name | Type | Description |
---|---|---|
p | bigint[] | 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 |
Returns: bigint[]