Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
lu.c File Reference
#include <math.h>
#include <neatogen/neato.h>
#include <util/alloc.h>
Include dependency graph for lu.c:

Go to the source code of this file.

Functions

int lu_decompose (double **a, int n)
 
void lu_solve (double *x, double *b, int n)
 

Variables

static double * scales
 
static double ** lu
 
static int * ps
 

Function Documentation

◆ lu_decompose()

int lu_decompose ( double **  a,
int  n 
)

Definition at line 65 of file lu.c.

References free(), free_array(), gv_calloc(), lu, new_array(), ps, and scales.

Referenced by matinv().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lu_solve()

void lu_solve ( double *  x,
double *  b,
int  n 
)

Definition at line 135 of file lu.c.

References dot, lu, and ps.

Referenced by matinv().

Here is the caller graph for this function:

Variable Documentation

◆ lu

double** lu
static

Definition at line 50 of file lu.c.

Referenced by lu_decompose(), and lu_solve().

◆ ps

◆ scales

double* scales
static

Definition at line 49 of file lu.c.

Referenced by lu_decompose().