Amesos Package Browser (Single Doxygen Collection)  Development
Functions
amesos_klu_kernel.c File Reference
#include "amesos_klu_internal.h"
Include dependency graph for amesos_klu_kernel.c:

Go to the source code of this file.

Functions

static Int dfs (Int j, Int k, Int Pinv [], Int Llen [], Int Lip [], Int Stack [], Int Flag [], Int Lpend [], Int top, Unit LU [], Int *Lik, Int *plength, Int Ap_pos [])
 
static Int lsolve_symbolic (Int n, Int k, Int Ap [], Int Ai [], Int Q [], Int Pinv [], Int Stack [], Int Flag [], Int Lpend [], Int Ap_pos [], Unit LU [], Int lup, Int Llen [], Int Lip [], Int k1, Int PSinv [])
 
static void construct_column (Int k, Int Ap [], Int Ai [], Entry Ax [], Int Q [], Entry X [], Int k1, Int PSinv [], double Rs [], Int scale, Int Offp [], Int Offi [], Entry Offx [])
 
static void lsolve_numeric (Int Pinv [], Unit *LU, Int Stack [], Int Lip [], Int top, Int n, Int Llen [], Entry X [])
 
static Int lpivot (Int diagrow, Int *p_pivrow, Entry *p_pivot, double *p_abs_pivot, double tol, Entry X [], Unit *LU, Int Lip [], Int Llen [], Int k, Int n, Int Pinv [], Int *p_firstrow, KLU_common *Common)
 
static void prune (Int Lpend [], Int Pinv [], Int k, Int pivrow, Unit *LU, Int Uip [], Int Lip [], Int Ulen [], Int Llen [])
 
size_t KLU_kernel (Int n, Int Ap [], Int Ai [], Entry Ax [], Int Q [], size_t lusize, Int Pinv [], Int P [], Unit **p_LU, Entry Udiag [], Int Llen [], Int Ulen [], Int Lip [], Int Uip [], Int *lnz, Int *unz, Entry X [], Int Stack [], Int Flag [], Int Ap_pos [], Int Lpend [], Int k1, Int PSinv [], double Rs [], Int Offp [], Int Offi [], Entry Offx [], KLU_common *Common)
 

Function Documentation

◆ dfs()

static Int dfs ( Int  j,
Int  k,
Int  Pinv[],
Int  Llen[],
Int  Lip[],
Int  Stack[],
Int  Flag[],
Int  Lpend[],
Int  top,
Unit  LU[],
Int Lik,
Int plength,
Int  Ap_pos[] 
)
static

Definition at line 19 of file amesos_klu_kernel.c.

◆ lsolve_symbolic()

static Int lsolve_symbolic ( Int  n,
Int  k,
Int  Ap[],
Int  Ai[],
Int  Q[],
Int  Pinv[],
Int  Stack[],
Int  Flag[],
Int  Lpend[],
Int  Ap_pos[],
Unit  LU[],
Int  lup,
Int  Llen[],
Int  Lip[],
Int  k1,
Int  PSinv[] 
)
static

Definition at line 123 of file amesos_klu_kernel.c.

◆ construct_column()

static void construct_column ( Int  k,
Int  Ap[],
Int  Ai[],
Entry  Ax[],
Int  Q[],
Entry  X[],
Int  k1,
Int  PSinv[],
double  Rs[],
Int  scale,
Int  Offp[],
Int  Offi[],
Entry  Offx[] 
)
static

Definition at line 209 of file amesos_klu_kernel.c.

◆ lsolve_numeric()

static void lsolve_numeric ( Int  Pinv[],
Unit LU,
Int  Stack[],
Int  Lip[],
Int  top,
Int  n,
Int  Llen[],
Entry  X[] 
)
static

Definition at line 306 of file amesos_klu_kernel.c.

◆ lpivot()

static Int lpivot ( Int  diagrow,
Int p_pivrow,
Entry p_pivot,
double *  p_abs_pivot,
double  tol,
Entry  X[],
Unit LU,
Int  Lip[],
Int  Llen[],
Int  k,
Int  n,
Int  Pinv[],
Int p_firstrow,
KLU_common Common 
)
static

Definition at line 355 of file amesos_klu_kernel.c.

◆ prune()

static void prune ( Int  Lpend[],
Int  Pinv[],
Int  k,
Int  pivrow,
Unit LU,
Int  Uip[],
Int  Lip[],
Int  Ulen[],
Int  Llen[] 
)
static

Definition at line 516 of file amesos_klu_kernel.c.

◆ KLU_kernel()

size_t KLU_kernel ( Int  n,
Int  Ap[],
Int  Ai[],
Entry  Ax[],
Int  Q[],
size_t  lusize,
Int  Pinv[],
Int  P[],
Unit **  p_LU,
Entry  Udiag[],
Int  Llen[],
Int  Ulen[],
Int  Lip[],
Int  Uip[],
Int lnz,
Int unz,
Entry  X[],
Int  Stack[],
Int  Flag[],
Int  Ap_pos[],
Int  Lpend[],
Int  k1,
Int  PSinv[],
double  Rs[],
Int  Offp[],
Int  Offi[],
Entry  Offx[],
KLU_common Common 
)

Definition at line 627 of file amesos_klu_kernel.c.