|
Function Fit (1 and multi-dimensional)
Detailed Description
This chapter describes functions for multidimensional linear and nonlinear least-squares fitting.
The library provides low level components for a variety of iterative solvers and convergence tests. These can be combined by the user to achieve the desired solution, with full access to the intermediate steps of the iteration. Each class of methods uses the same framework, so that you can switch between solvers at runtime without needing to recompile your program. Each instance of a solver keeps track of its own state, allowing the solvers to be used in multi-threaded programs.
- Todo:
- Check these classes
Implement test-suite
Function Documentation
template<typename Client> |
int gslmm::@0::fit_df_function |
( |
const gsl_vector * |
x, |
|
|
void * |
params, |
|
|
gsl_matrix * |
j |
|
) |
[static] |
|
|
Helper function for fits.
- Parameters:
-
| x | The current values the parameters |
| params | A pointer to the object to fit |
| j | On return, the Jacobian matrix |
- Returns:
- If the evaluation worked, 0, otherwise an appropriate error code
|
template<typename Client> |
int gslmm::@0::fit_f_function |
( |
const gsl_vector * |
x, |
|
|
void * |
params, |
|
|
gsl_vector * |
f |
|
) |
[static] |
|
|
Helper function for fits.
- Parameters:
-
| x | The current values the parameters |
| params | A pointer to the object to fit |
| f | On return, the function to minimize evaluated at all data points |
- Returns:
- If the evaluation worked, 0, otherwise an appropriate error code
|
template<typename Client> |
int gslmm::@0::fit_fdf_function |
( |
const gsl_vector * |
x, |
|
|
void * |
params, |
|
|
gsl_vector * |
f, |
|
|
gsl_matrix * |
j |
|
) |
[static] |
|
|
Helper function for fits.
- Parameters:
-
| x | The current values the parameters |
| params | A pointer to the object to fit |
| f | On return, the function to minimize evaluated at all data points |
| j | On return, the Jacobian matrix |
- Returns:
- If the evaluation worked, 0, otherwise an appropriate error code
|
|