commons-math-interpolation / Utils / trimPoly
function trimPoly(c): Float64Array;
Defined in: Utils.ts:100
Removes the zero-valued coefficients of the highest orders from a polynomial.
At least one coefficient is kept, so a zero polynomial is returned as [0].
[0]
Float64Array
The polynomial coefficients in ascending order.
c itself if its highest-order coefficient is not zero (or if c is empty). Otherwise a subarray() view of c, which shares the same buffer.
c
subarray()
There was an error while loading. Please reload this page.