
Go to the source code of this file.
Classes | |
| class | Model_3pe |
| #define | WANT_STREAM |
| #define | WANT_MATH |
| int | my_main () |
| int | main () |
Example of non-linear least squares fit.
This is an example of a non-linear least squares fit. The example is from "Nonlinear estimation" by Gavin Ross (Springer,1990), p 63. There are better ways of doing the fit in this case so this example is just an example.
The model is E(y) = a + b exp(-kx) and there are 6 data points.
Definition in file nl_ex.cpp.
| #define WANT_STREAM |