Skip to content

Commit a5ba8c2

Browse files
authored
Update README.md
1 parent 8414410 commit a5ba8c2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ const { Polynomial, polynomialRoots } = require('nomial');
2929
### Calling
3030

3131
```typescript
32-
// The coefficients are stored in order of increasing exponent so this polynomial corresponds to
32+
// The coefficients are stored in order of increasing exponent.
33+
// This is the polynomial used in this example:
3334
// -7412 - 1505x - 20x^2 - 10x^3 + 2x^4 + x^5
3435
const f = new Polynomial([-7412, -1505, -20, -10, 2, 1]);
3536
const roots = polynomialRoots(f);
@@ -54,4 +55,4 @@ Cem Yuksel. 2022. High-Performance Polynomial Root Finding for Graphics. Proc. A
5455
## Changelog
5556

5657
- 1.0.11 - Add cubic deflation. Don't use Math.pow in Polynomial.evaluate. 16x faster!
57-
- 1.0.10 - First public release
58+
- 1.0.10 - First public release

0 commit comments

Comments
 (0)