Module Gsl.Multifit

Multi-parameter Least-Squares Fitting

type ws
val make : n:int ‑> p:int ‑> ws
external _linear : ?⁠weight:Vectmat.vec ‑> x:Vectmat.mat ‑> y:Vectmat.vec ‑> c:Vectmat.vec ‑> cov:Vectmat.mat ‑> ws ‑> float = "ml_gsl_multifit_linear_bc" "ml_gsl_multifit_linear"
val linear : ?⁠weight:Vectmat.vec ‑> Vectmat.mat ‑> Vectmat.vec ‑> Vector.vector * Matrix.matrix * float
external linear_est : x:Vectmat.vec ‑> c:Vectmat.vec ‑> cov:Vectmat.mat ‑> Fun.result = "ml_gsl_multifit_linear_est"
val fit_poly : ?⁠weight:float array ‑> x:float array ‑> y:float array ‑> int ‑> float array * float array array * float