This repository contains a Futhark package
for doing nonlinear least-squares fitting using the
Levenberg-Marquardt algorithm. Its ancestry is somewhat convoluted:
the code is partially based on a
LexiFi-provided OCaml translation of
is itself a C translation of the FORTRAN program
MINPACK. This package is named in
honour of that original FORTRAN program.
The porting to Futhark was done as part of a larger project while Troels Henriksen was visiting SimCorp.
$ futhark pkg add github.com/diku-dk/lmdif $ futhark pkg sync