Function LIN_solve
Defined in File linalg.c
Function Documentation
-
int LIN_solve(int n, void *a, double *b)
Solve a linear matrix equation, or system of linear scalar equations.
Description
Linear matrix equation \(ax = b\)
- Parameters:
n – size of the matrix
a – n * n matrix
b – vector of lenth n
- Returns:
0 if no error, a positive error-code otherwise, returns the solution in b, a and b are modified in-place