e-num-roots-0-1
▸ function eNumRootsIn01
(p
: number[][]): number
Defined in roots/descartes/expansion/e-num-roots-0-1.ts:24
Returns the exact number of distinct real roots in the open interval (0,1) of the given polynomial - subject to floating point underflow / overflow of intermediate calculations.
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