Introduction - If you have any usage issues, please Google them yourself
bool lu (double* a, int* pivot, int n) matrix LU decomposition. Suppose an* n array in memory stored in row order, this function uses the column pivoting Gaussian elimination, LU decomposition of their in situ. pivot for the output function. pivot [0, n) stored in the location of the main element array. function successfully returns false, otherwise true. bool guass (double const* lu, int const* p, double* b, int n) Linear equations. Suppose matrix lum* n for a matrix of an* n the LU decomposition, in memory stored in row order. p [0, n) for the LU decomposition of the main element array. b for the equation Ax = b of the right end of the vector. This function calculates the equations Ax = b of the solution, and the results stored in array b [0, n) in. Function successfully returns false, otherwise true.