| RcdMathLib_doc
    Open Source Library  for Linear and Non-linear Algebra | 
 
 
 
Go to the documentation of this file.
   35     uint8_t max_it_num = 77;
 
   42                                       est_x_arr, get_non_lin_sys, get_jacobian);
 
   47             double min_lamda = 4.8828125e-04;
 
   50                                              tol, max_it_num, est_x_arr,
 
   51                                              get_non_lin_sys, get_jacobian);
 
   58                                       est_x_arr, get_non_lin_sys, get_jacobian);
 
  
 
Implement the Newton–Raphson algorithm.
Solve multi-variant nonlinear equation systems.
#define vector_t
Define the data type of the vector elements.
uint8_t damped_newton_raphson(uint8_t f_length, uint8_t n, vector_t x0_arr[], double min_lamda, double eps, uint8_t max_it_num, vector_t est_x_arr[], void(*get_non_lin_sys)(vector_t x_arr[], vector_t f_vec[]), void(*get_jacobian)(vector_t x_arr[], matrix_t J[][n]))
Implements the damped Newton–Raphson algorithm.
NON_LIN_ALGORITHM
Possible algorithms to solve multi-variant nonlinear equation systems.
Damped Newton–Raphson algorithm.
Implement the damped Newton–Raphson algorithm.
uint8_t newton_raphson(uint8_t f_length, uint8_t n, vector_t x0_arr[], double eps, uint8_t max_it_num, vector_t est_x_arr[], void(*get_non_lin_sys)(vector_t x_arr[], vector_t f_vec[]), void(*get_jacobian)(vector_t x_arr[], matrix_t J[][n]))
Implements the Newton–Raphson algorithm.
Newton–Raphson algorithm.
#define matrix_t
Define the data type of the matrix elements.
uint8_t fsolve(uint8_t f_length, uint8_t x0_length, vector_t x0_arr[], enum NON_LIN_ALGORITHM algo, vector_t est_x_arr[], void(*get_non_lin_sys)(vector_t x_arr[], vector_t f_vec[]), void(*get_jacobian)(vector_t x_arr[], matrix_t J[][x0_length]))
Solve systems of multi-variant nonlinear equations.