Polynomial regression: Difference between revisions

→‎{{header|Haskell}}: needed Control.Arrow to make this code work
m (→‎{{header|Tcl}}: use better template)
(→‎{{header|Haskell}}: needed Control.Arrow to make this code work)
Line 385:
import Data.Array
import Control.Monad
import Control.Arrow
import Matrix.LU
 
Line 395 ⟶ 396:
<lang haskell>*Main> polyfit 3 [1,6,17,34,57,86,121,162,209,262,321]
[1.0,2.0,3.0]</lang>
 
 
=={{header|HicEst}}==
Anonymous user