Lagrange Interpolation: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H
m (→‎{{header|Raku}}: insignificant changes)
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 241:
{{libheader|Wren-fmt}}
A polynomial is represented here by a list of coefficients from the lowest to the highest degree. However, the library methods which deal with polynomials expect the coefficients to be presented from highest to lowest degree so we therefore need to reverse the list before calling these methods.
<syntaxhighlight lang="ecmascriptwren">import "./dynamic" for Tuple
import "./math" for Math
import "./fmt" for Fmt
9,482

edits