NEURON
sparse2.h File Reference
#include "sparse.h"

Go to the source code of this file.

Functions

SPMATspCHfactor (SPMAT *)
 
SPMATspICHfactor (SPMAT *)
 
SPMATspCHsymb (SPMAT *)
 
VECspCHsolve (SPMAT *, VEC *, VEC *)
 
SPMATspLUfactor (SPMAT *, PERM *, double)
 
SPMATspILUfactor (SPMAT *, double)
 
VECspLUsolve (SPMAT *, PERM *, VEC *, VEC *)
 
VECspLUTsolve (SPMAT *, PERM *, VEC *, VEC *)
 
SPMATspBKPfactor (SPMAT *, PERM *, PERM *, double)
 
VECspBKPsolve (SPMAT *, PERM *, PERM *, VEC *, VEC *)
 
VECpccg (VEC *(*A)(), void *A_par, VEC *(*M_inv)(), void *M_par, VEC *b, double tol, VEC *x)
 
VECsp_pccg (SPMAT *, SPMAT *, VEC *, double, VEC *)
 
VECcgs (VEC *(*A)(), void *A_par, VEC *b, VEC *r0, double tol, VEC *x)
 
VECsp_cgs (SPMAT *, VEC *, VEC *, double, VEC *)
 
VEClsqr (VEC *(*A)(), VEC *(*AT)(), void *A_par, VEC *b, double tol, VEC *x)
 
VECsp_lsqr (SPMAT *, VEC *, double, VEC *)
 
int cg_set_maxiter (int)
 
void lanczos (VEC *(*A)(), void *A_par, int m, VEC *x0, VEC *a, VEC *b, Real *beta_m1, MAT *Q)
 
void sp_lanczos (SPMAT *, int, VEC *, VEC *, VEC *, Real *, MAT *)
 
VEClanczos2 (VEC *(*A)(), void *A_par, int m, VEC *x0, VEC *evals, VEC *err_est)
 
VECsp_lanczos2 (SPMAT *, int, VEC *, VEC *, VEC *)
 
void scan_to (SPMAT *, IVEC *, IVEC *, IVEC *, int)
 
row_eltchase_col (SPMAT *, int, int *, int *, int)
 
row_eltchase_past (SPMAT *, int, int *, int *, int)
 
row_eltbump_col (SPMAT *, int, int *, int *)
 

Function Documentation

◆ bump_col()

row_elt* bump_col ( SPMAT A,
int  col,
int *  row_num,
int *  idx 
)

Definition at line 258 of file spswap.c.

◆ cg_set_maxiter()

int cg_set_maxiter ( int  numiter)

Definition at line 74 of file conjgrad.c.

◆ cgs()

VEC* cgs ( VEC *(*)()  A,
void A_par,
VEC b,
VEC r0,
double  tol,
VEC x 
)

Definition at line 179 of file conjgrad.c.

◆ chase_col()

row_elt* chase_col ( SPMAT A,
int  col,
int *  row_num,
int *  idx,
int  max_row 
)

Definition at line 134 of file spswap.c.

◆ chase_past()

row_elt* chase_past ( SPMAT A,
int  col,
int *  row_num,
int *  idx,
int  min_row 
)

Definition at line 210 of file spswap.c.

◆ lanczos()

void lanczos ( VEC *(*)()  A,
void A_par,
int  m,
VEC x0,
VEC a,
VEC b,
Real beta_m1,
MAT Q 
)

Definition at line 50 of file lanczos.c.

◆ lanczos2()

VEC* lanczos2 ( VEC *(*)()  A,
void A_par,
int  m,
VEC x0,
VEC evals,
VEC err_est 
)

Definition at line 214 of file lanczos.c.

◆ lsqr()

VEC* lsqr ( VEC *(*)()  A,
VEC *(*)()  AT,
void A_par,
VEC b,
double  tol,
VEC x 
)

Definition at line 266 of file conjgrad.c.

◆ pccg()

VEC* pccg ( VEC *(*)()  A,
void A_par,
VEC *(*)()  M_inv,
void M_par,
VEC b,
double  tol,
VEC x 
)

Definition at line 90 of file conjgrad.c.

◆ scan_to()

void scan_to ( SPMAT A,
IVEC scan_row,
IVEC scan_idx,
IVEC col_list,
int  max_row 
)

Definition at line 45 of file spswap.c.

◆ sp_cgs()

VEC* sp_cgs ( SPMAT A,
VEC b,
VEC r0,
double  tol,
VEC x 
)

Definition at line 250 of file conjgrad.c.

◆ sp_lanczos()

void sp_lanczos ( SPMAT A,
int  m,
VEC x0,
VEC a,
VEC b,
Real beta2,
MAT Q 
)

Definition at line 307 of file lanczos.c.

◆ sp_lanczos2()

VEC* sp_lanczos2 ( SPMAT A,
int  m,
VEC x0,
VEC evals,
VEC err_est 
)

Definition at line 317 of file lanczos.c.

◆ sp_lsqr()

VEC* sp_lsqr ( SPMAT A,
VEC b,
double  tol,
VEC x 
)

Definition at line 345 of file conjgrad.c.

◆ sp_pccg()

VEC* sp_pccg ( SPMAT A,
SPMAT LLT,
VEC b,
double  eps,
VEC x 
)

Definition at line 160 of file conjgrad.c.

◆ spBKPfactor()

SPMAT* spBKPfactor ( SPMAT A,
PERM pivot,
PERM blocks,
double  tol 
)

Definition at line 562 of file spbkp.c.

◆ spBKPsolve()

VEC* spBKPsolve ( SPMAT A,
PERM pivot,
PERM block,
VEC b,
VEC x 
)

Definition at line 1253 of file spbkp.c.

◆ spCHfactor()

SPMAT* spCHfactor ( SPMAT )

◆ spCHsolve()

VEC* spCHsolve ( SPMAT L,
VEC b,
VEC out 
)

Definition at line 311 of file spchfctr.c.

◆ spCHsymb()

SPMAT * spCHsymb ( SPMAT A)

Definition at line 445 of file spchfctr.c.

◆ spICHfactor()

SPMAT * spICHfactor ( SPMAT )

◆ spILUfactor()

SPMAT* spILUfactor ( SPMAT A,
double  alpha 
)

Definition at line 302 of file splufctr.c.

◆ spLUfactor()

SPMAT* spLUfactor ( SPMAT A,
PERM px,
double  alpha 
)

Definition at line 49 of file splufctr.c.

◆ spLUsolve()

VEC* spLUsolve ( SPMAT ,
PERM ,
VEC ,
VEC  
)

◆ spLUTsolve()

VEC * spLUTsolve ( SPMAT A,
PERM pivot,
VEC b,
VEC x 
)

Definition at line 219 of file splufctr.c.