ltl::Gaussian< TPAR, TDAT, 3, 2 > Class Template Reference
Inherits MRQFunction< TPAR, TDAT, 3, 2 >.
List of all members.
Public Member Functions
- Gaussian ()
- void setData (const MArray< TDAT, 2 > &indata, const TDAT in_nan, const MArray< TDAT, 2 > &inerror2)
- void freeData ()
- Free data and error.
- TPAR marquardtCoefficients (const FVector< TPAR, 3 > &restrict_ parameter, const TPAR chisquare_limit, FMatrix< TPAR, 3, 3 > &restrict_ a, FVector< TPAR, 3 > &restrict_ b) const
- void setData (const MArray< TDAT, NDIM > &indata, const TDATin_nan, const MArray< TDAT, NDIM > &inerror2)
- Set data, error and NaN value.
- 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, 3 > partofit (const FVector< TPAR, 3 > ¶meter)
- static FVector< TPAR, 3 > fittopar (const FVector< TPAR, 3 > &fitpar, const typename FMatrix< TPAR, 3, 3 >::TraceVector &trace)
- static FVector< TPAR, 3 > covtoerr (const typename FMatrix< TPAR, 3, 3 >::TraceVector &trace, const FVector< TPAR, 3 > &fitpar)
- 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 ltl::Gaussian< TPAR, TDAT, 3, 2 >
Constructor & Destructor Documentation
template<class TPAR , class TDAT >
Member Function Documentation
template<class TPAR , class TDAT >
void ltl::Gaussian< TPAR, TDAT, 3, 2 >::setData |
( |
const MArray< TDAT, 2 > & |
indata, |
|
|
const TDAT |
in_nan, |
|
|
const MArray< TDAT, 2 > & |
inerror2 | |
|
) |
| | [inline] |
template<class TPAR , class TDAT >
template<class TPAR , class TDAT >
template<class TPAR , class TDAT >
static FVector<TPAR, 3> ltl::Gaussian< TPAR, TDAT, 3, 2 >::fittopar |
( |
const FVector< TPAR, 3 > & |
fitpar, |
|
|
const typename FMatrix< TPAR, 3, 3 >::TraceVector & |
trace | |
|
) |
| | [inline, static] |
template<class TPAR , class TDAT >
static FVector<TPAR, 3> ltl::Gaussian< TPAR, TDAT, 3, 2 >::covtoerr |
( |
const typename FMatrix< TPAR, 3, 3 >::TraceVector & |
trace, |
|
|
const FVector< TPAR, 3 > & |
fitpar | |
|
) |
| | [inline, static] |
template<class TPAR , class TDAT >
TPAR ltl::Gaussian< TPAR, TDAT, 3, 2 >::marquardtCoefficients |
( |
const FVector< TPAR, 3 > &restrict_ |
parameter, |
|
|
const TPAR |
chisquare_limit, |
|
|
FMatrix< TPAR, 3, 3 > &restrict_ |
a, |
|
|
FVector< TPAR, 3 > &restrict_ |
b | |
|
) |
| | const [inline] |
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.
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.
Member Data Documentation