e-evaluate-at-0

▸ function eEvaluateAt0 (p: number[][]): number[]

Defined in evaluate/expansion/e-evaluate-at-0.ts:15

Returns the constant term of the given polynomial.

example

evaluateAt0([[3],[2],[99]]); //=> [99]

Parameters:

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

Returns: number[]