package gsl

  1. Overview
  2. Docs

Multi-parameter Least-Squares Fitting

type ws
val make : n:int -> p:int -> ws
val _linear : ?weight:Vectmat.vec -> x:Vectmat.mat -> y:Vectmat.vec -> c:Vectmat.vec -> cov:Vectmat.mat -> ws -> float
val linear : ?weight:Vectmat.vec -> Vectmat.mat -> Vectmat.vec -> Vector.vector * Matrix.matrix * float
val linear_est : x:Vectmat.vec -> c:Vectmat.vec -> cov:Vectmat.mat -> Fun.result
val fit_poly : ?weight:float array -> x:float array -> y:float array -> int -> float array * float array array * float