PolyGaussian< TPAR, TDAT, 7, 2 > Class Template Reference
Inherits MRQFunction< TPAR, TDAT, 7, 2 >.
List of all members.
Public Member Functions
- PolyGaussian ()
- FVector< TPAR, 7 > covtoerr (const typename FMatrix< TPAR, 7, 7 >::TraceVector &trace, const FVector< TPAR, 7 > &fitpar)
- TPAR marquardtCoefficients (const FVector< TPAR, 7 > &restrict_ parameter, const TPAR chisquare_limit, FMatrix< TPAR, 7, 7 > &restrict_ a, FVector< TPAR, 7 > &restrict_ b) const
- void setData (const MArray< TDAT, NDIM > &indata, const TDATin_nan, const MArray< TDAT, NDIM > &inerror2)
- Set data, error and NaN value.
- void freeData ()
- Free data and error.
- TPAR marquardtCoefficients (const FVector< TPAR, NPAR > &restrict_ parameter, const TPARchisquare_limit, FMatrix< TPAR, NPAR, NPAR > &restrict_ a, FVector< TPAR, NPAR > &restrict_ b) const
- Calculate actual (if better than old one) and Hessematrix.
- size_t getNdof () const
- Return degrees of freedom for fit.
Static Public Member Functions
- static FVector< TPAR, 7 > partofit (const FVector< TPAR, 7 > ¶meter)
- static FVector< TPAR, 7 > fittopar (const FVector< TPAR, 7 > &fitpar, const typename FMatrix< TPAR, 7, 7 >::TraceVector &trace)
- static FVector< TPAR, NPAR > partofit (const FVector< TPAR, NPAR > ¶meter)
- Convert external fit parameters to internal representation.
- 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.
- 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.
Protected Attributes
template<class TPAR, class TDAT>
class PolyGaussian< TPAR, TDAT, 7, 2 >
Constructor & Destructor Documentation
template<class TPAR , class TDAT >
Member Function Documentation
template<class TPAR , class TDAT >
static FVector<TPAR, 7> PolyGaussian< TPAR, TDAT, 7, 2 >::partofit |
( |
const FVector< TPAR, 7 > & |
parameter |
) |
[inline, static] |
template<class TPAR , class TDAT >
static FVector<TPAR, 7> PolyGaussian< TPAR, TDAT, 7, 2 >::fittopar |
( |
const FVector< TPAR, 7 > & |
fitpar, |
|
|
const typename FMatrix< TPAR, 7, 7 >::TraceVector & |
trace | |
|
) |
| | [inline, static] |
template<class TPAR , class TDAT >
FVector<TPAR, 7> PolyGaussian< TPAR, TDAT, 7, 2 >::covtoerr |
( |
const typename FMatrix< TPAR, 7, 7 >::TraceVector & |
trace, |
|
|
const FVector< TPAR, 7 > & |
fitpar | |
|
) |
| | [inline] |
References Gaussian< TPAR, TDAT, 7, 2 >::covtoerr(), MRQFunction< TPAR, TDAT, NPAR, NDIM >::data_, MRQFunction< TPAR, TDAT, NPAR, NDIM >::error2_, 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(), and MRQFunction< TPAR, TDAT, NPAR, NDIM >::setData().
template<class TPAR , class TDAT >
TPAR PolyGaussian< TPAR, TDAT, 7, 2 >::marquardtCoefficients |
( |
const FVector< TPAR, 7 > &restrict_ |
parameter, |
|
|
const TPAR |
chisquare_limit, |
|
|
FMatrix< TPAR, 7, 7 > &restrict_ |
a, |
|
|
FVector< TPAR, 7 > &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 | |
|
) |
| | [inline, inherited] |
Set data, error and NaN value.
void MRQFunction< TPAR , TDAT , NPAR, NDIM >::freeData |
( |
|
) |
[inline, inherited] |
static FVector<TPAR , NPAR> 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> 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> 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 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 MRQFunction< TPAR , TDAT , NPAR, NDIM >::getNdof |
( |
|
) |
const [inline, inherited] |
Return degrees of freedom for fit.
Member Data Documentation
MArray<TDAT , NDIM> MRQFunction< TPAR , TDAT , NPAR, NDIM >::data_ [protected, inherited] |
MArray<TDAT , NDIM> MRQFunction< TPAR , TDAT , NPAR, NDIM >::error2_ [protected, inherited] |