Graphviz 14.1.3~dev.20260207.0611
Loading...
Searching...
No Matches
lu.c File Reference
#include "config.h"
#include <assert.h>
#include <math.h>
#include <neatogen/neato.h>
#include <stdlib.h>
#include <util/alloc.h>
#include <util/gv_math.h>
Include dependency graph for lu.c:

Go to the source code of this file.

Functions

int lu_decompose (lu_t *lu, double **a, int n)
 
void lu_solve (const lu_t *lu, double *x, int bi, int n)
 
void lu_free (lu_t *lu)
 release resources relating to LU decomposition
 

Function Documentation

◆ lu_decompose()

int lu_decompose ( lu_t lu,
double **  a,
int  n 
)

Definition at line 67 of file lu.c.

References free(), gv_calloc(), lu_t::lu, lu_free(), new_array(), NULL, lu_t::ps, and SWAP.

Referenced by matinv().

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

◆ lu_free()

void lu_free ( lu_t lu)

Definition at line 155 of file lu.c.

References free(), free_array(), lu_t::lu, NULL, and lu_t::ps.

Referenced by lu_decompose(), and matinv().

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

◆ lu_solve()

void lu_solve ( const lu_t lu,
double *  x,
int  bi,
int  n 
)

Definition at line 137 of file lu.c.

References dot, lu_t::lu, and lu_t::ps.

Referenced by matinv().

Here is the caller graph for this function: