Amesos Package Browser (Single Doxygen Collection) Development
Classes | Defines | Typedefs | Functions
amesos_klu_decl.h File Reference
#include "amesos_amd.h"
#include "amesos_colamd.h"
#include "amesos_btf_decl.h"
Include dependency graph for amesos_klu_decl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  klu_symbolic
struct  klu_l_symbolic
struct  klu_numeric
struct  klu_l_numeric
struct  klu_common_struct
struct  klu_l_common_struct

Defines

#define KLU_OK   0
#define KLU_SINGULAR   (1)
#define KLU_OUT_OF_MEMORY   (-2)
#define KLU_INVALID   (-3)
#define KLU_TOO_LARGE   (-4)
#define KLU_DATE   "May 31, 2007"
#define KLU_VERSION_CODE(main, sub)   ((main) * 1000 + (sub))
#define KLU_MAIN_VERSION   1
#define KLU_SUB_VERSION   0
#define KLU_SUBSUB_VERSION   0
#define KLU_VERSION   KLU_VERSION_CODE(KLU_MAIN_VERSION,KLU_SUB_VERSION)

Typedefs

typedef struct klu_common_struct klu_common
typedef struct klu_l_common_struct klu_l_common

Functions

int amesos_klu_defaults (klu_common *Common)
UF_long amesos_klu_l_defaults (klu_l_common *Common)
klu_symbolicamesos_klu_analyze (int n, int Ap[], int Ai[], klu_common *Common)
klu_l_symbolicamesos_klu_l_analyze (UF_long, UF_long *, UF_long *, klu_l_common *Common)
klu_symbolicamesos_klu_analyze_given (int n, int Ap[], int Ai[], int P[], int Q[], klu_common *Common)
klu_l_symbolicamesos_klu_l_analyze_given (UF_long, UF_long *, UF_long *, UF_long *, UF_long *, klu_l_common *)
klu_numericamesos_klu_factor (int Ap[], int Ai[], double Ax[], klu_symbolic *Symbolic, klu_common *Common)
klu_numericamesos_klu_z_factor (int Ap[], int Ai[], double Ax[], klu_symbolic *Symbolic, klu_common *Common)
klu_l_numericamesos_klu_l_factor (UF_long *, UF_long *, double *, klu_l_symbolic *, klu_l_common *)
klu_l_numericamesos_klu_zl_factor (UF_long *, UF_long *, double *, klu_l_symbolic *, klu_l_common *)
int amesos_klu_solve (klu_symbolic *Symbolic, klu_numeric *Numeric, int ldim, int nrhs, double B[], klu_common *Common)
int amesos_klu_z_solve (klu_symbolic *Symbolic, klu_numeric *Numeric, int ldim, int nrhs, double B[], klu_common *Common)
UF_long amesos_klu_l_solve (klu_l_symbolic *, klu_l_numeric *, UF_long, UF_long, double *, klu_l_common *)
UF_long amesos_klu_zl_solve (klu_l_symbolic *, klu_l_numeric *, UF_long, UF_long, double *, klu_l_common *)
int amesos_klu_tsolve (klu_symbolic *Symbolic, klu_numeric *Numeric, int ldim, int nrhs, double B[], klu_common *Common)
int amesos_klu_z_tsolve (klu_symbolic *Symbolic, klu_numeric *Numeric, int ldim, int nrhs, double B[], int conj_solve, klu_common *Common)
UF_long amesos_klu_l_tsolve (klu_l_symbolic *, klu_l_numeric *, UF_long, UF_long, double *, klu_l_common *)
UF_long amesos_klu_zl_tsolve (klu_l_symbolic *, klu_l_numeric *, UF_long, UF_long, double *, UF_long, klu_l_common *)
int amesos_klu_refactor (int Ap[], int Ai[], double Ax[], klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
int amesos_klu_z_refactor (int Ap[], int Ai[], double Ax[], klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
UF_long amesos_klu_l_refactor (UF_long *, UF_long *, double *, klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
UF_long amesos_klu_zl_refactor (UF_long *, UF_long *, double *, klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
int amesos_klu_free_symbolic (klu_symbolic **Symbolic, klu_common *Common)
UF_long amesos_klu_l_free_symbolic (klu_l_symbolic **, klu_l_common *)
int amesos_klu_free_numeric (klu_numeric **Numeric, klu_common *Common)
int amesos_klu_z_free_numeric (klu_numeric **Numeric, klu_common *Common)
UF_long amesos_klu_l_free_numeric (klu_l_numeric **, klu_l_common *)
UF_long amesos_klu_zl_free_numeric (klu_l_numeric **, klu_l_common *)
int amesos_klu_sort (klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
int amesos_klu_z_sort (klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
UF_long amesos_klu_l_sort (klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
UF_long amesos_klu_zl_sort (klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
int amesos_klu_flops (klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
int amesos_klu_z_flops (klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
UF_long amesos_klu_l_flops (klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
UF_long amesos_klu_zl_flops (klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
int amesos_klu_rgrowth (int Ap[], int Ai[], double Ax[], klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
int amesos_klu_z_rgrowth (int Ap[], int Ai[], double Ax[], klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
UF_long amesos_klu_l_rgrowth (UF_long *, UF_long *, double *, klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
UF_long amesos_klu_zl_rgrowth (UF_long *, UF_long *, double *, klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
int amesos_klu_condest (int Ap[], double Ax[], klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
int amesos_klu_z_condest (int Ap[], double Ax[], klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
UF_long amesos_klu_l_condest (UF_long *, double *, klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
UF_long amesos_klu_zl_condest (UF_long *, double *, klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
int amesos_klu_rcond (klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
int amesos_klu_z_rcond (klu_symbolic *Symbolic, klu_numeric *Numeric, klu_common *Common)
UF_long amesos_klu_l_rcond (klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
UF_long amesos_klu_zl_rcond (klu_l_symbolic *, klu_l_numeric *, klu_l_common *)
int amesos_klu_scale (int scale, int n, int Ap[], int Ai[], double Ax[], double Rs[], int W[], klu_common *Common)
int amesos_klu_z_scale (int scale, int n, int Ap[], int Ai[], double Ax[], double Rs[], int W[], klu_common *Common)
UF_long amesos_klu_l_scale (UF_long, UF_long, UF_long *, UF_long *, double *, double *, UF_long *, klu_l_common *)
UF_long amesos_klu_zl_scale (UF_long, UF_long, UF_long *, UF_long *, double *, double *, UF_long *, klu_l_common *)
int amesos_klu_extract (klu_numeric *Numeric, klu_symbolic *Symbolic, int *Lp, int *Li, double *Lx, int *Up, int *Ui, double *Ux, int *Fp, int *Fi, double *Fx, int *P, int *Q, double *Rs, int *R, klu_common *Common)
int amesos_klu_z_extract (klu_numeric *Numeric, klu_symbolic *Symbolic, int *Lp, int *Li, double *Lx, double *Lz, int *Up, int *Ui, double *Ux, double *Uz, int *Fp, int *Fi, double *Fx, double *Fz, int *P, int *Q, double *Rs, int *R, klu_common *Common)
UF_long amesos_klu_l_extract (klu_l_numeric *, klu_l_symbolic *, UF_long *, UF_long *, double *, UF_long *, UF_long *, double *, UF_long *, UF_long *, double *, UF_long *, UF_long *, double *, UF_long *, klu_l_common *)
UF_long amesos_klu_zl_extract (klu_l_numeric *, klu_l_symbolic *, UF_long *, UF_long *, double *, double *, UF_long *, UF_long *, double *, double *, UF_long *, UF_long *, double *, double *, UF_long *, UF_long *, double *, UF_long *, klu_l_common *)
void * amesos_klu_malloc (size_t n, size_t size, klu_common *Common)
void * amesos_klu_free (void *p, size_t n, size_t size, klu_common *Common)
void * amesos_klu_realloc (size_t nnew, size_t nold, size_t size, void *p, klu_common *Common)
void * amesos_klu_l_malloc (size_t, size_t, klu_l_common *)
void * amesos_klu_l_free (void *, size_t, size_t, klu_l_common *)
void * amesos_klu_l_realloc (size_t, size_t, size_t, void *, klu_l_common *)

Define Documentation

#define KLU_OK   0

Definition at line 131 of file amesos_klu_decl.h.

#define KLU_SINGULAR   (1)

Definition at line 132 of file amesos_klu_decl.h.

#define KLU_OUT_OF_MEMORY   (-2)

Definition at line 133 of file amesos_klu_decl.h.

#define KLU_INVALID   (-3)

Definition at line 134 of file amesos_klu_decl.h.

#define KLU_TOO_LARGE   (-4)

Definition at line 135 of file amesos_klu_decl.h.

#define KLU_DATE   "May 31, 2007"

Definition at line 821 of file amesos_klu_decl.h.

#define KLU_VERSION_CODE (   main,
  sub 
)    ((main) * 1000 + (sub))

Definition at line 822 of file amesos_klu_decl.h.

#define KLU_MAIN_VERSION   1

Definition at line 823 of file amesos_klu_decl.h.

#define KLU_SUB_VERSION   0

Definition at line 824 of file amesos_klu_decl.h.

#define KLU_SUBSUB_VERSION   0

Definition at line 825 of file amesos_klu_decl.h.

#define KLU_VERSION   KLU_VERSION_CODE(KLU_MAIN_VERSION,KLU_SUB_VERSION)

Definition at line 826 of file amesos_klu_decl.h.


Typedef Documentation

typedef struct klu_common_struct klu_common

Function Documentation

int amesos_klu_defaults ( klu_common Common)
UF_long amesos_klu_l_defaults ( klu_l_common Common)
klu_symbolic* amesos_klu_analyze ( int  n,
int  Ap[],
int  Ai[],
klu_common Common 
)
klu_l_symbolic* amesos_klu_l_analyze ( UF_long  ,
UF_long *  ,
UF_long *  ,
klu_l_common Common 
)
klu_symbolic* amesos_klu_analyze_given ( int  n,
int  Ap[],
int  Ai[],
int  P[],
int  Q[],
klu_common Common 
)
klu_l_symbolic* amesos_klu_l_analyze_given ( UF_long  ,
UF_long *  ,
UF_long *  ,
UF_long *  ,
UF_long *  ,
klu_l_common  
)
klu_numeric* amesos_klu_factor ( int  Ap[],
int  Ai[],
double  Ax[],
klu_symbolic Symbolic,
klu_common Common 
)
klu_numeric* amesos_klu_z_factor ( int  Ap[],
int  Ai[],
double  Ax[],
klu_symbolic Symbolic,
klu_common Common 
)
klu_l_numeric* amesos_klu_l_factor ( UF_long *  ,
UF_long *  ,
double *  ,
klu_l_symbolic ,
klu_l_common  
)
klu_l_numeric* amesos_klu_zl_factor ( UF_long *  ,
UF_long *  ,
double *  ,
klu_l_symbolic ,
klu_l_common  
)
int amesos_klu_solve ( klu_symbolic Symbolic,
klu_numeric Numeric,
int  ldim,
int  nrhs,
double  B[],
klu_common Common 
)
int amesos_klu_z_solve ( klu_symbolic Symbolic,
klu_numeric Numeric,
int  ldim,
int  nrhs,
double  B[],
klu_common Common 
)
UF_long amesos_klu_l_solve ( klu_l_symbolic ,
klu_l_numeric ,
UF_long  ,
UF_long  ,
double *  ,
klu_l_common  
)
UF_long amesos_klu_zl_solve ( klu_l_symbolic ,
klu_l_numeric ,
UF_long  ,
UF_long  ,
double *  ,
klu_l_common  
)
int amesos_klu_tsolve ( klu_symbolic Symbolic,
klu_numeric Numeric,
int  ldim,
int  nrhs,
double  B[],
klu_common Common 
)
int amesos_klu_z_tsolve ( klu_symbolic Symbolic,
klu_numeric Numeric,
int  ldim,
int  nrhs,
double  B[],
int  conj_solve,
klu_common Common 
)
UF_long amesos_klu_l_tsolve ( klu_l_symbolic ,
klu_l_numeric ,
UF_long  ,
UF_long  ,
double *  ,
klu_l_common  
)
UF_long amesos_klu_zl_tsolve ( klu_l_symbolic ,
klu_l_numeric ,
UF_long  ,
UF_long  ,
double *  ,
UF_long  ,
klu_l_common  
)
int amesos_klu_refactor ( int  Ap[],
int  Ai[],
double  Ax[],
klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
int amesos_klu_z_refactor ( int  Ap[],
int  Ai[],
double  Ax[],
klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
UF_long amesos_klu_l_refactor ( UF_long *  ,
UF_long *  ,
double *  ,
klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
UF_long amesos_klu_zl_refactor ( UF_long *  ,
UF_long *  ,
double *  ,
klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
int amesos_klu_free_symbolic ( klu_symbolic **  Symbolic,
klu_common Common 
)
UF_long amesos_klu_l_free_symbolic ( klu_l_symbolic **  ,
klu_l_common  
)
int amesos_klu_free_numeric ( klu_numeric **  Numeric,
klu_common Common 
)
int amesos_klu_z_free_numeric ( klu_numeric **  Numeric,
klu_common Common 
)
UF_long amesos_klu_l_free_numeric ( klu_l_numeric **  ,
klu_l_common  
)
UF_long amesos_klu_zl_free_numeric ( klu_l_numeric **  ,
klu_l_common  
)
int amesos_klu_sort ( klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
int amesos_klu_z_sort ( klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
UF_long amesos_klu_l_sort ( klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
UF_long amesos_klu_zl_sort ( klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
int amesos_klu_flops ( klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
int amesos_klu_z_flops ( klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
UF_long amesos_klu_l_flops ( klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
UF_long amesos_klu_zl_flops ( klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
int amesos_klu_rgrowth ( int  Ap[],
int  Ai[],
double  Ax[],
klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
int amesos_klu_z_rgrowth ( int  Ap[],
int  Ai[],
double  Ax[],
klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
UF_long amesos_klu_l_rgrowth ( UF_long *  ,
UF_long *  ,
double *  ,
klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
UF_long amesos_klu_zl_rgrowth ( UF_long *  ,
UF_long *  ,
double *  ,
klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
int amesos_klu_condest ( int  Ap[],
double  Ax[],
klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
int amesos_klu_z_condest ( int  Ap[],
double  Ax[],
klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
UF_long amesos_klu_l_condest ( UF_long *  ,
double *  ,
klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
UF_long amesos_klu_zl_condest ( UF_long *  ,
double *  ,
klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
int amesos_klu_rcond ( klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
int amesos_klu_z_rcond ( klu_symbolic Symbolic,
klu_numeric Numeric,
klu_common Common 
)
UF_long amesos_klu_l_rcond ( klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
UF_long amesos_klu_zl_rcond ( klu_l_symbolic ,
klu_l_numeric ,
klu_l_common  
)
int amesos_klu_scale ( int  scale,
int  n,
int  Ap[],
int  Ai[],
double  Ax[],
double  Rs[],
int  W[],
klu_common Common 
)
int amesos_klu_z_scale ( int  scale,
int  n,
int  Ap[],
int  Ai[],
double  Ax[],
double  Rs[],
int  W[],
klu_common Common 
)
UF_long amesos_klu_l_scale ( UF_long  ,
UF_long  ,
UF_long *  ,
UF_long *  ,
double *  ,
double *  ,
UF_long *  ,
klu_l_common  
)
UF_long amesos_klu_zl_scale ( UF_long  ,
UF_long  ,
UF_long *  ,
UF_long *  ,
double *  ,
double *  ,
UF_long *  ,
klu_l_common  
)
int amesos_klu_extract ( klu_numeric Numeric,
klu_symbolic Symbolic,
int *  Lp,
int *  Li,
double *  Lx,
int *  Up,
int *  Ui,
double *  Ux,
int *  Fp,
int *  Fi,
double *  Fx,
int *  P,
int *  Q,
double *  Rs,
int *  R,
klu_common Common 
)
int amesos_klu_z_extract ( klu_numeric Numeric,
klu_symbolic Symbolic,
int *  Lp,
int *  Li,
double *  Lx,
double *  Lz,
int *  Up,
int *  Ui,
double *  Ux,
double *  Uz,
int *  Fp,
int *  Fi,
double *  Fx,
double *  Fz,
int *  P,
int *  Q,
double *  Rs,
int *  R,
klu_common Common 
)
UF_long amesos_klu_l_extract ( klu_l_numeric ,
klu_l_symbolic ,
UF_long *  ,
UF_long *  ,
double *  ,
UF_long *  ,
UF_long *  ,
double *  ,
UF_long *  ,
UF_long *  ,
double *  ,
UF_long *  ,
UF_long *  ,
double *  ,
UF_long *  ,
klu_l_common  
)
UF_long amesos_klu_zl_extract ( klu_l_numeric ,
klu_l_symbolic ,
UF_long *  ,
UF_long *  ,
double *  ,
double *  ,
UF_long *  ,
UF_long *  ,
double *  ,
double *  ,
UF_long *  ,
UF_long *  ,
double *  ,
double *  ,
UF_long *  ,
UF_long *  ,
double *  ,
UF_long *  ,
klu_l_common  
)
void* amesos_klu_malloc ( size_t  n,
size_t  size,
klu_common Common 
)
void* amesos_klu_free ( void *  p,
size_t  n,
size_t  size,
klu_common Common 
)
void* amesos_klu_realloc ( size_t  nnew,
size_t  nold,
size_t  size,
void *  p,
klu_common Common 
)
void* amesos_klu_l_malloc ( size_t  ,
size_t  ,
klu_l_common  
)
void* amesos_klu_l_free ( void *  ,
size_t  ,
size_t  ,
klu_l_common  
)
void* amesos_klu_l_realloc ( size_t  ,
size_t  ,
size_t  ,
void *  ,
klu_l_common  
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines