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