Inherits MRQFunction< TPAR, TDAT, 7, 2 >.
|
| PolyGaussian () |
|
ltl::FVector< TPAR, 7 > | covtoerr (const typename ltl::FMatrix< TPAR, 7, 7 >::TraceVector &trace, const ltl::FVector< TPAR, 7 > &fitpar) |
|
TPAR | marquardtCoefficients (const ltl::FVector< TPAR, 7 > &restrict_ parameter, const TPAR chisquare_limit, ltl::FMatrix< TPAR, 7, 7 > &restrict_ a, ltl::FVector< TPAR, 7 > &restrict_ b) const |
|
void | setData (const ltl::MArray< TDAT, NDIM > &indata, const TDAT in_nan, const ltl::MArray< TDAT, NDIM > &inerror2) |
| Set data, error and NaN value. More...
|
|
void | freeData () |
| Free data and error. More...
|
|
TPAR | marquardtCoefficients (const ltl::FVector< TPAR, NPAR > &restrict_, const TPAR chisquare_limit, ltl::FMatrix< TPAR, NPAR, NPAR > &restrict_ a, ltl::FVector< TPAR, NPAR > &restrict_ b) const |
| Calculate actual (if better than old one) and Hessematrix. More...
|
|
std::size_t | getNdof () const |
| Return degrees of freedom for fit. More...
|
|
|
static ltl::FVector< TPAR, 7 > | partofit (const ltl::FVector< TPAR, 7 > ¶meter) |
|
static ltl::FVector< TPAR, 7 > | fittopar (const ltl::FVector< TPAR, 7 > &fitpar, const typename ltl::FMatrix< TPAR, 7, 7 >::TraceVector &trace) |
|
static ltl::FVector< TPAR, NPAR > | partofit (const ltl::FVector< TPAR, NPAR > ¶meter) |
| Convert external fit parameters to internal representation. More...
|
|
static ltl::FVector< TPAR, NPAR > | fittopar (const ltl::FVector< TPAR, NPAR > &fitpar, const typename ltl::FMatrix< TPAR, NPAR, NPAR >::TraceVector &) |
| Convert internal fit parameters to external representation. More...
|
|
static ltl::FVector< TPAR, NPAR > | covtoerr (const typename ltl::FMatrix< TPAR, NPAR, NPAR >::TraceVector &trace, const ltl::FVector< TPAR, NPAR > &) |
| Calculate external error in parameters from internal covariance matrix. More...
|
|
template<class TPAR , class TDAT >
template<class TPAR , class TDAT >
template<class TPAR , class TDAT >
template<class TPAR , class TDAT >
References Gaussian< TPAR, TDAT, 7, 2 >::covtoerr(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::data_, MRQFunction< TPAR, TDAT, NPAR, NDIM >::error2_, ltl::GaussJ< T, N >::eval(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::fittopar(), Gaussian< TPAR, TDAT, 7, 2 >::marquardtCoefficients(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::nan_data_, Gaussian< TPAR, TDAT, 7, 2 >::partofit(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::setData(), and ltl::FMatrix< T, M, N >::traceVector().
template<class TPAR , class TDAT >
TPAR PolyGaussian< TPAR, TDAT, 7, 2 >::marquardtCoefficients |
( |
const ltl::FVector< TPAR, 7 > &restrict_ |
parameter, |
|
|
const TPAR |
chisquare_limit, |
|
|
ltl::FMatrix< TPAR, 7, 7 > &restrict_ |
a, |
|
|
ltl::FVector< TPAR, 7 > &restrict_ |
b |
|
) |
| const |
|
inline |
References ltl::MArray< T, N >::begin(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::data_, MRQFunction< TPAR, TDAT, NPAR, NDIM >::error2_, ltl::ltl::exp(), ltl::MArray< T, N >::maxIndex(), ltl::MArray< T, N >::minIndex(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::nan_data_, and ltl::ltl::pow2().
Set data, error and NaN value.
void MRQFunction< TPAR, TDAT, NPAR, NDIM >::freeData |
( |
| ) |
|
|
inlineinherited |
Convert external fit parameters to internal representation.
Convert internal fit parameters to external representation.
Calculate external error in parameters from internal covariance matrix.
TPAR MRQFunction< TPAR, TDAT, NPAR, NDIM >::marquardtCoefficients |
( |
const ltl::FVector< TPAR, NPAR > & |
restrict_, |
|
|
const TPAR |
chisquare_limit, |
|
|
ltl::FMatrix< TPAR, NPAR, NPAR > &restrict_ |
a, |
|
|
ltl::FVector< TPAR, NPAR > &restrict_ |
b |
|
) |
| const |
|
inlineinherited |
Calculate actual
(if better than old one) and Hessematrix.
std::size_t MRQFunction< TPAR, TDAT, NPAR, NDIM >::getNdof |
( |
| ) |
const |
|
inlineinherited |
Return degrees of freedom for fit.