Inherits Moffat< TPAR, TDAT, 8, 2 >.
|
ltl::FVector< TPAR, 8 > | covtoerr (const typename ltl::FMatrix< TPAR, 8, 8 >::TraceVector &trace, const ltl::FVector< TPAR, 8 > &) |
|
TPAR | marquardtCoefficients (const ltl::FVector< TPAR, 8 > &restrict_ parameter, const TPAR chisquare_limit, ltl::FMatrix< TPAR, 8, 8 > &restrict_ a, ltl::FVector< TPAR, 8 > &restrict_ b) const |
|
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...
|
|
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...
|
|
std::size_t | getNdof () const |
| Return degrees of freedom for fit. More...
|
|
|
static void | fill (const ltl::FVector< TPAR, 8 > &restrict_ invalue, ltl::MArray< TDAT, 2 > &a) |
|
static ltl::FVector< TPAR, 8 > | partofit (const ltl::FVector< TPAR, 8 > ¶meter) |
|
static ltl::FVector< TPAR, 8 > | fittopar (const ltl::FVector< TPAR, 8 > &fitpar, const typename ltl::FMatrix< TPAR, 8, 8 >::TraceVector &) |
|
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 >
template<class TPAR , class TDAT >
TPAR Moffat< TPAR, TDAT, 8, 2 >::marquardtCoefficients |
( |
const ltl::FVector< TPAR, 8 > &restrict_ |
parameter, |
|
|
const TPAR |
chisquare_limit, |
|
|
ltl::FMatrix< TPAR, 8, 8 > &restrict_ |
a, |
|
|
ltl::FVector< TPAR, 8 > &restrict_ |
b |
|
) |
| const |
|
inlineinherited |
References ltl::MArray< T, N >::begin(), ltl::ltl::cos(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::data_, MRQFunction< TPAR, TDAT, NPAR, NDIM >::error2_, ltl::ltl::log(), ltl::ltl::log10(), ltl::MArray< T, N >::maxIndex(), ltl::MArray< T, N >::minIndex(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::nan_data_, ltl::ltl::pow(), and ltl::ltl::sin().
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.
References ltl::MArray< T, N >::begin(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::data_, ltl::MArrayIterConst< T, N >::done(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::error2_, ltl::MArray< T, N >::indexBegin(), and MRQFunction< TPAR, TDAT, NPAR, NDIM >::nan_data_.
Set data, error and NaN value.
References ltl::count(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::data_, MRQFunction< TPAR, TDAT, NPAR, NDIM >::error2_, ltl::MArray< T, N >::makeReference(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::nan_data_, and MRQFunction< TPAR, TDAT, NPAR, NDIM >::ndof_.
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.
std::size_t MRQFunction< TPAR, TDAT, NPAR, NDIM >::getNdof |
( |
| ) |
const |
|
inlineinherited |