dd-differentiate-with-err

▸ function ddDifferentiateWithError (pWithErr: object): object

Defined in calculus/double-double/dd-differentiate-with-err.ts:24

Returns the result (and resulting coefficient-wise error bound) of differentiating the given polynomial (with coefficients given in double-double precision) in double-double precision.

Parameters:

NameTypeDescription
pWithErr{ p: number[][]; pE: number[] }an object with 2 properties: p: a polynomial with coefficients given densely as an array of double-double precision floating point numbers from highest to lowest power, e.g. [[5],[-3],[0]] represents the polynomial 5x^2 - 3x and pE: the coefficient-wise error bound of the input polynomial

Returns: object

NameType
pnumber[][]
pEnumber[]