f8457f064ed61d4cebe36784719c58571f987f88
[libfirm] / include / libfirm / adt / gaussjordan.h
1 /**
2  * @file
3  * @brief solves a system of linear equations
4  */
5 #ifndef FIRM_ADT_GAUSSJORDAN_H
6 #define FIRM_ADT_GAUSSJORDAN_H
7
8 /**
9  * solves a system of linear equations and returns 0 if successful
10  *
11  * @param A       the linear equations as matrix
12  * @param b       the result vector, will contain the result if successful
13  * @param nsize   the size of the equation system
14  */
15 int firm_gaussjordansolve(double *A, double *b, int nsize);
16
17 #endif