|
| Marquardt (const size_t initer, const TPAR ainstart, const TPAR ainstep, const TPAR ainmin, const TPAR ainmax, const FVector< bool, NPAR > ignin=false) |
| Construct class with fit constraints. More...
|
|
void | eval (const MArray< TDAT, NDIM > &restrict_ data, const TDAT nan, const MArray< TDAT, NDIM > &restrict_ error2, const FVector< TPAR, NPAR > &inpar) |
| Fit to data and ignoring nan, start with inpar. More...
|
|
FVector< TPAR, NPAR > | getResult () |
| Return result vector. More...
|
|
TPAR | getChiSquare () const |
| Return final . More...
|
|
size_t | getNIteration () const |
| Return No needed iterations. More...
|
|
FVector< TPAR, NPAR > | getVariance () |
| Return in fit parameters. More...
|
|
template<class TFUNC, class TPAR, class TDAT, int NPAR, int NDIM>
class ltl::Marquardt< TFUNC, TPAR, TDAT, NPAR, NDIM >
Marquardt-Levenberg approximation of an arbitrary fitfunction TFUNC.
Class to fit an arbitrary function TFUNC to arbitrary data (and error).