RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
fsolve.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2020 Zakaria Kasmi <zkasmi@inf.fu-berlin.de>
3  * 2020 Freie Universität Berlin
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser General
6  * Public License v2.1. See the file LICENSE in the top level directory for more
7  * details.
8  */
9 
24 #ifndef FSOLVE_H_
25 #define FSOLVE_H_
26 
33 };
34 
53 uint8_t fsolve(uint8_t f_length, uint8_t x0_length, vector_t x0_arr[],
54  enum NON_LIN_ALGORITHM algo, vector_t est_x_arr[],
55  void (*get_non_lin_sys)(vector_t x_arr[], vector_t f_vec[]),
56  void (*get_jacobian)(vector_t x_arr[], matrix_t J[][x0_length]));
57 
58 #endif /* FSOLVE_H_ */
fsolve
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.
Definition: fsolve.c:29
vector_t
#define vector_t
Define the data type of the vector elements.
Definition: vector.h:33
NON_LIN_ALGORITHM
NON_LIN_ALGORITHM
Possible algorithms to solve multi-variant nonlinear equation systems.
Definition: fsolve.h:30
Damped_Newton_Raphson
Damped Newton–Raphson algorithm.
Definition: fsolve.h:32
Newton_Raphson
Newton–Raphson algorithm.
Definition: fsolve.h:31
matrix_t
#define matrix_t
Define the data type of the matrix elements.
Definition: matrix.h:38