Approximation of a Moffat function via Marquardt-Levenberg algorithm. More...
Inherits ltl::Moffat< TPAR, TDAT, NPAR, NDIM >.
Approximation of a Moffat function via Marquardt-Levenberg algorithm.
void ltl::MRQFunction< TPAR, TDAT, NPAR, NDIM >::setData | ( | const MArray< TDAT, NDIM > & | indata, | |
const TDAT | in_nan, | |||
const MArray< TDAT, NDIM > & | inerror2 | |||
) | [inline, inherited] |
Set data, error and NaN value.
void ltl::MRQFunction< TPAR, TDAT, NPAR, NDIM >::freeData | ( | ) | [inline, inherited] |
Free data and error.
Reimplemented in ltl::Gaussian< TPAR, TDAT, 5, 2 >, ltl::Gaussian< TPAR, TDAT, 3, 2 >, and ltl::PolyGaussian< TPAR, TDAT, 5, 2 >.
static FVector<TPAR, NPAR> ltl::MRQFunction< TPAR, TDAT, NPAR, NDIM >::partofit | ( | const FVector< TPAR, NPAR > & | parameter | ) | [inline, static, inherited] |
Convert external fit parameters to internal representation.
static FVector<TPAR, NPAR> ltl::MRQFunction< TPAR, TDAT, NPAR, NDIM >::fittopar | ( | const FVector< TPAR, NPAR > & | fitpar, | |
const typename FMatrix< TPAR, NPAR, NPAR >::TraceVector & | trace | |||
) | [inline, static, inherited] |
Convert internal fit parameters to external representation.
static FVector<TPAR, NPAR> ltl::MRQFunction< TPAR, TDAT, NPAR, NDIM >::covtoerr | ( | const typename FMatrix< TPAR, NPAR, NPAR >::TraceVector & | trace, | |
const FVector< TPAR, NPAR > & | fitpar | |||
) | [inline, static, inherited] |
Calculate external error in parameters from internal covariance matrix.
TPAR ltl::MRQFunction< TPAR, TDAT, NPAR, NDIM >::marquardtCoefficients | ( | const FVector< TPAR, NPAR > &restrict_ | parameter, | |
const TPAR | chisquare_limit, | |||
FMatrix< TPAR, NPAR, NPAR > &restrict_ | a, | |||
FVector< TPAR, NPAR > &restrict_ | b | |||
) | const [inline, inherited] |
Calculate actual (if better than old one) and Hessematrix.
size_t ltl::MRQFunction< TPAR, TDAT, NPAR, NDIM >::getNdof | ( | ) | const [inline, inherited] |
Return degrees of freedom for fit.
MArray<TDAT, NDIM> ltl::MRQFunction< TPAR, TDAT, NPAR, NDIM >::data_ [protected, inherited] |
TDAT ltl::MRQFunction< TPAR, TDAT, NPAR, NDIM >::nan_data_ [protected, inherited] |
MArray<TDAT, NDIM> ltl::MRQFunction< TPAR, TDAT, NPAR, NDIM >::error2_ [protected, inherited] |
int ltl::MRQFunction< TPAR, TDAT, NPAR, NDIM >::ndof_ [protected, inherited] |