Header file for LU Decomposition/Substitution.
More...
Go to the source code of this file.
|
| void | ludcmp (int n, double *A) |
| | LU Decomposition function. More...
|
| |
| void | lusubst (int n, double *LU, double *b) |
| | Forward/Backward Substitution function. More...
|
| |
Header file for LU Decomposition/Substitution.
Definition in file inverse.h.
◆ ludcmp()
| void ludcmp |
( |
int |
n, |
|
|
double * |
A |
|
) |
| |
LU Decomposition function.
- Parameters
-
| n | Dimension of the A matrix |
| A | Target matrix to decompose |
Decompose matrix A into lower and upper triangular matrix
Definition at line 34 of file inverse.c.
◆ lusubst()
| void lusubst |
( |
int |
n, |
|
|
double * |
LU, |
|
|
double * |
b |
|
) |
| |
Forward/Backward Substitution function.
- Parameters
-
| n | Dimension of the matrix |
| LU | LU decomposed matrix |
| b | Right-hand-side vector |
This function performs Forward/Backward substitution of LU decomposed matrix.
Definition at line 73 of file inverse.c.