UCFD_SPARSE  v1.0
Documentation
Loading...
Searching...
No Matches
inverse.h File Reference

Header file for LU Decomposition/Substitution. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ludcmp (int n, double *A)
 LU Decomposition function. More...
 
void lusubst (int n, double *LU, double *b)
 Forward/Backward Substitution function. More...
 

Detailed Description

Header file for LU Decomposition/Substitution.

Definition in file inverse.h.

Function Documentation

◆ ludcmp()

void ludcmp ( int  n,
double *  A 
)

LU Decomposition function.

Parameters
nDimension of the A matrix
ATarget matrix to decompose

Decompose matrix A into lower and upper triangular matrix

Definition at line 34 of file inverse.c.

Here is the caller graph for this function:

◆ lusubst()

void lusubst ( int  n,
double *  LU,
double *  b 
)

Forward/Backward Substitution function.

Parameters
nDimension of the matrix
LULU decomposed matrix
bRight-hand-side vector

This function performs Forward/Backward substitution of LU decomposed matrix.

Definition at line 73 of file inverse.c.

Here is the caller graph for this function: