e-evaluate-at-1
▸ function eEvaluateAt1
(p
: number[][]): number[]
Defined in evaluate/expansion/e-evaluate-at-1.ts:18
Returns the exact result (bar underflow / overflow) of evaluating the given polynomial at 1.
- faster than at an arbitrary point.
Parameters:
Name | Type | Description |
---|---|---|
p | number[][] | 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[]