| 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
 where ![$\vec{x} = [x_1, x_2]^T$](form_5.png) and
 and ![$ \vec{x_0} = [6,.3]$](form_6.png) is the initial guess. The data set is
 is the initial guess. The data set is  , whereby
, whereby  is equal to
 is equal to  and
 and  is equal to
 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
 whereby ![$\vec{x} = [x_1, x_2, x_3, x_4]^T$](form_13.png) and
 and ![$\vec{x_0} = [17, 0.5, 10.5, 77]$](form_14.png) is the initial guess. The set of data points is
 is the initial guess. The set of data points is  , where
, where  is equal to
 is equal to  and
 and  is equal to
 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.