|
RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
|
Examples of optimization algorithms. More...
Go to the source code of this file.
Functions | |
| void | optimization_test (void) |
| Examples of optimization algorithms using the LVM and GN algorithms. | |
| void | optimization_exponential_data_test (void) |
| Examples of optimization algorithms using exponential data. More... | |
| void | optimization_sinusoidal_data_test (void) |
| Examples of optimization algorithms using sinusoidal data. More... | |
Examples of optimization algorithms.
Optimization algorithms examples (see the modified GN and LVM optimization methods).
Definition in file optimization_test.h.
| void optimization_exponential_data_test | ( | void | ) |
Examples of optimization algorithms using exponential data.
The model function is:
where
and
is the initial guess. The data set is
, whereby
is equal to
and
is equal to
.
Definition at line 264 of file optimization_test.c.
References matrix_t, modified_gauss_newton(), opt_levenberg_marquardt(), optimization_get_exp_f(), optimization_get_exp_Jacobian(), vector_clear(), and vector_t.
| void optimization_sinusoidal_data_test | ( | void | ) |
Examples of optimization algorithms using sinusoidal data.
The model function is:
whereby
and
is the initial guess. The set of data points is
, where
is equal to
and
is equal to
.
Definition at line 376 of file optimization_test.c.
References matrix_t, modified_gauss_newton(), opt_levenberg_marquardt(), optimization_get_sin_f(), optimization_get_sin_Jacobian(), vector_clear(), and vector_t.