Inherits MRQFunction< TPAR, TDAT, 8, 2 >.
Inherited by DegMoffat< TPAR, TDAT, 8, 2 >.
|
| Moffat () |
|
TPAR | marquardtCoefficients (const FVector< TPAR, 8 > &restrict_ parameter, const TPAR chisquare_limit, FMatrix< TPAR, 8, 8 > &restrict_ a, FVector< TPAR, 8 > &restrict_ b) const |
|
void | setData (const MArray< TDAT, NDIM > &indata, const TDAT in_nan, const MArray< TDAT, NDIM > &inerror2) |
| Set data, error and NaN value. More...
|
|
void | freeData () |
| Free data and error. More...
|
|
TPAR | marquardtCoefficients (const FVector< TPAR, NPAR > &restrict_ parameter, const TPAR chisquare_limit, FMatrix< TPAR, NPAR, NPAR > &restrict_ a, FVector< TPAR, NPAR > &restrict_ b) const |
| Calculate actual (if better than old one) and Hessematrix. More...
|
|
size_t | getNdof () const |
| Return degrees of freedom for fit. More...
|
|
|
static void | fill (const FVector< TPAR, 8 > &restrict_ invalue, MArray< TDAT, 2 > &a) |
|
static FVector< TPAR, NPAR > | partofit (const FVector< TPAR, NPAR > ¶meter) |
| Convert external fit parameters to internal representation. More...
|
|
static FVector< TPAR, NPAR > | fittopar (const FVector< TPAR, NPAR > &fitpar, const typename FMatrix< TPAR, NPAR, NPAR >::TraceVector &trace) |
| Convert internal fit parameters to external representation. More...
|
|
static FVector< TPAR, NPAR > | covtoerr (const typename FMatrix< TPAR, NPAR, NPAR >::TraceVector &trace, const FVector< TPAR, NPAR > &fitpar) |
| Calculate external error in parameters from internal covariance matrix. More...
|
|
template<class TPAR , class TDAT >
template<class TPAR , class TDAT >
static void Moffat< TPAR, TDAT, 8, 2 >::fill |
( |
const FVector< TPAR, 8 > &restrict_ |
invalue, |
|
|
MArray< TDAT, 2 > & |
a |
|
) |
| |
|
inlinestatic |
template<class TPAR , class TDAT >
TPAR Moffat< TPAR, TDAT, 8, 2 >::marquardtCoefficients |
( |
const FVector< TPAR, 8 > &restrict_ |
parameter, |
|
|
const TPAR |
chisquare_limit, |
|
|
FMatrix< TPAR, 8, 8 > &restrict_ |
a, |
|
|
FVector< TPAR, 8 > &restrict_ |
b |
|
) |
| const |
|
inline |
References MRQFunction< TPAR, TDAT, NPAR, NDIM >::data_, MRQFunction< TPAR, TDAT, NPAR, NDIM >::error2_, and MRQFunction< TPAR, TDAT, NPAR, NDIM >::nan_data_.
void MRQFunction< TPAR, TDAT, NPAR, NDIM >::setData |
( |
const MArray< TDAT, NDIM > & |
indata, |
|
|
const TDAT |
in_nan, |
|
|
const MArray< TDAT, NDIM > & |
inerror2 |
|
) |
| |
|
inlineinherited |
Set data, error and NaN value.
References ltl::count(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::data_, MRQFunction< TPAR, TDAT, NPAR, NDIM >::error2_, MRQFunction< TPAR, TDAT, NPAR, NDIM >::nan_data_, and MRQFunction< TPAR, TDAT, NPAR, NDIM >::ndof_.
void MRQFunction< TPAR, TDAT, NPAR, NDIM >::freeData |
( |
| ) |
|
|
inlineinherited |
static FVector<TPAR, NPAR> MRQFunction< TPAR, TDAT, NPAR, NDIM >::partofit |
( |
const FVector< TPAR, NPAR > & |
parameter | ) |
|
|
inlinestaticinherited |
Convert external fit parameters to internal representation.
static FVector<TPAR, NPAR> MRQFunction< TPAR, TDAT, NPAR, NDIM >::fittopar |
( |
const FVector< TPAR, NPAR > & |
fitpar, |
|
|
const typename FMatrix< TPAR, NPAR, NPAR >::TraceVector & |
trace |
|
) |
| |
|
inlinestaticinherited |
Convert internal fit parameters to external representation.
static FVector<TPAR, NPAR> MRQFunction< TPAR, TDAT, NPAR, NDIM >::covtoerr |
( |
const typename FMatrix< TPAR, NPAR, NPAR >::TraceVector & |
trace, |
|
|
const FVector< TPAR, NPAR > & |
fitpar |
|
) |
| |
|
inlinestaticinherited |
Calculate external error in parameters from internal covariance matrix.
TPAR 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 |
|
inlineinherited |
Calculate actual
(if better than old one) and Hessematrix.
References MRQFunction< TPAR, TDAT, NPAR, NDIM >::data_, MRQFunction< TPAR, TDAT, NPAR, NDIM >::error2_, and MRQFunction< TPAR, TDAT, NPAR, NDIM >::nan_data_.
size_t MRQFunction< TPAR, TDAT, NPAR, NDIM >::getNdof |
( |
| ) |
const |
|
inlineinherited |
MArray<TDAT, NDIM> MRQFunction< TPAR, TDAT, NPAR, NDIM >::data_ |
|
protectedinherited |
MArray<TDAT, NDIM> MRQFunction< TPAR, TDAT, NPAR, NDIM >::error2_ |
|
protectedinherited |