RcdMathLib_doc
Open Source Library for Linear and Non-linear Algebra
modified_gauss_newton.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 MODIFIED_GAUSS_NEWTON_H_
25 #define MODIFIED_GAUSS_NEWTON_H_
26 
27 #include <inttypes.h>
28 
29 #include "matrix.h"
30 #include "vector.h"
31 
51 uint8_t modified_gauss_newton(uint8_t f_length, uint8_t n,
52  vector_t x0_vec[n],
53  vector_t data_vec[f_length],
54  matrix_t eps, matrix_t fmin, uint8_t max_iter_num,
55  vector_t est_x_vec[n],
56  void (*get_f_error)(vector_t x0_vec[],
57  vector_t data_vec[],
58  vector_t f_vec[]),
59  void (*get_jacobian)(vector_t x0_vec[],
60  matrix_t J[][n])
61  );
62 
63 #endif /* MODIFIED_GAUSS_NEWTON_H_ */
modified_gauss_newton
uint8_t modified_gauss_newton(uint8_t f_length, uint8_t n, vector_t x0_vec[n], vector_t data_vec[f_length], matrix_t eps, matrix_t fmin, uint8_t max_iter_num, vector_t est_x_vec[n], void(*get_f_error)(vector_t x0_vec[], vector_t data_vec[], vector_t f_vec[]), void(*get_jacobian)(vector_t x0_vec[], matrix_t J[][n]))
Implements the modified Gauss–Newton algorithm.
Definition: modified_gauss_newton.c:32
vector_t
#define vector_t
Define the data type of the vector elements.
Definition: vector.h:33
matrix.h
Matrix computations.
matrix_t
#define matrix_t
Define the data type of the matrix elements.
Definition: matrix.h:38
vector.h
Vector computations.