This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* levmarq.c | |
* | |
* This file contains an implementation of the Levenberg-Marquardt algorithm | |
* for solving least-squares problems, together with some supporting routines | |
* for Cholesky decomposition and inversion. No attempt has been made at | |
* optimization. In particular, memory use in the matrix routines could be | |
* cut in half with a little effort (and some loss of clarity). | |
* | |
* It is assumed that the compiler supports variable-length arrays as |