ltl::PolynomFit< TPAR, TDAT, ORDER, false, 2 > Class Template Reference
[Linear Least Squares Fitting]
Specialisation for NDIM == 2 and restrict mixed terms to sum( exponents ) <= ORDER.
More...
List of all members.
Static Public Member Functions
- static FVector< TPAR, NPAR > eval (const MArray< TDAT, 2 > &data, const MArray< TDAT, 2 > &error2)
- static void fill (const FVector< TPAR, NPAR > &x, MArray< TDAT, 2 > &data)
- static string toString (const FVector< TPAR, NPAR > &b)
- static MArray< TDAT, 2 > fit (const MArray< TDAT, 2 > &data, const MArray< TDAT, 2 > &error2)
- static MArray< TDAT, 2 > fit (const MArray< TDAT, 2 > &data, const MArray< TDAT, 2 > &error2, string &comment)
Protected Types
- enum { NPAR = ((ORDER + 1) * (ORDER + 2)) / 2
}
Static Protected Member Functions
Detailed Description
template<class TPAR, class TDAT, int ORDER>
class ltl::PolynomFit< TPAR, TDAT, ORDER, false, 2 >
Specialisation for NDIM == 2 and restrict mixed terms to sum( exponents ) <= ORDER.
Member Enumeration Documentation
template<class TPAR , class TDAT , int ORDER>
anonymous enum [protected] |
Member Function Documentation
template<class TPAR , class TDAT , int ORDER>
static FVector<TPAR, NPAR> ltl::PolynomFit< TPAR, TDAT, ORDER, false, 2 >::polynomVector |
( |
const TPAR |
x, |
|
|
const TPAR |
y | |
|
) |
| | [inline, static, protected] |
template<class TPAR , class TDAT , int ORDER>
static FMatrix<TPAR, NPAR, NPAR> ltl::PolynomFit< TPAR, TDAT, ORDER, false, 2 >::polynomMatrix |
( |
const FVector< TPAR, NPAR > &restrict_ |
b, |
|
|
const TPAR |
c | |
|
) |
| | [inline, static, protected] |
template<class TPAR , class TDAT , int ORDER>
template<class TPAR , class TDAT , int ORDER>
static void ltl::PolynomFit< TPAR, TDAT, ORDER, false, 2 >::fill |
( |
const FVector< TPAR, NPAR > & |
x, |
|
|
MArray< TDAT, 2 > & |
data | |
|
) |
| | [inline, static] |
template<class TPAR , class TDAT , int ORDER>
static string ltl::PolynomFit< TPAR, TDAT, ORDER, false, 2 >::toString |
( |
const FVector< TPAR, NPAR > & |
b |
) |
[inline, static] |
template<class TPAR , class TDAT , int ORDER>
template<class TPAR , class TDAT , int ORDER>
static MArray<TDAT, 2> ltl::PolynomFit< TPAR, TDAT, ORDER, false, 2 >::fit |
( |
const MArray< TDAT, 2 > & |
data, |
|
|
const MArray< TDAT, 2 > & |
error2, |
|
|
string & |
comment | |
|
) |
| | [inline, static] |