e-product

▸ function eProduct (ps: number[][][]): number[][]

Defined in basic/expansion/e-product.ts:23

Returns the exact result (bar underflow / overflow) of the product of 0 or more polynomials.

example

eProduct([[[1],[2],[3]], [[2],[5],[3],[5]]]); //=> [[2], [9], [19], [26], [19], [15]]

Parameters:

NameTypeDescription
psnumber[][][]an array of polynomials each with coefficients given densely as an array of Shewchuk floating point expansions from highest to lowest power, e.g. [[5],[-3],[0]] represents the polynomial 5x^2 - 3x

Returns: number[][]