Levenberg-Marquardt.NET
Download LMA.NET 2.0 (.NET 2.0)
The link above contains the full source code, including NUnit test files with NAnt build file (+ VStudio 2005 project file)
of the LMA.NET library. The lib directory contains latest (at the time of writing) version
of NUnit framework 2.2.8 that is required for the compilation and running of the NUnit tests. The NANt build file
compiles source files into the debug and release assemblies and then runs NUnit tests.
Public constructor:
public LMA(LMAFunction function, double[] parameters,
double[][] dataPoints, double[] weights,
GeneralMatrix alpha,
double argDeltaChi2, int argMaxIter)
- function: function to fit into experimental data. Inherits from the LMA Function
- parameters: vector with initital parameters
- dataPoints: array containing experimengtal data that will be used in the fit
- weights: array of douibles with weights to experimental points
- Alpha: matrix
- epsilon: accuracy of the final result
- itMax: max number of iteration
function to call to execute minimum search:
public void Fit()
Mimium is stored in the Parameters property of the object
Full NDoc documentation is here