#include <../../nrnconf.h>
#include <stdio.h>
#include "sparse2.h"
#include <math.h>
Go to the source code of this file.
|
| #define | alpha 0.6403882032022076 /* = (1+sqrt(17))/8 */ |
| |
| #define | btos(x) ((x) ? "TRUE" : "FALSE") |
| |
| #define | sqr(x) ((x)*(x)) |
| |
|
| int | unord_get_idx (SPROW *r, int j) |
| |
| double | unord_get_val (SPMAT *A, int i, int j) |
| |
| static SPMAT * | bkp_swap_elt (SPMAT *A, int i1, int j1, int idx1, int i2, int j2, int idx2) |
| |
| row_elt * | bkp_bump_col (SPMAT *A, int j, int *row, int *idx) |
| |
| SPMAT * | bkp_interchange (SPMAT *A, int i1, int i2) |
| |
| int | iv_min (IVEC *iv, int *index) |
| |
| static double | max_row_col (SPMAT *A, int i, int j, int l) |
| |
| static int | nonzeros (SPMAT *A) |
| |
| int | chk_col_access (SPMAT *A) |
| |
| static int | col_cmp (row_elt *e1, row_elt *e2) |
| |
| SPMAT * | spBKPfactor (SPMAT *A, PERM *pivot, PERM *blocks, double tol) |
| |
| VEC * | spBKPsolve (SPMAT *A, PERM *pivot, PERM *block, VEC *b, VEC *x) |
| |
|
| static char | rcsid [] = "spbkp.c,v 1.1 1997/12/04 17:55:50 hines Exp" |
| |
◆ alpha
| #define alpha 0.6403882032022076 /* = (1+sqrt(17))/8 */ |
◆ btos
| #define btos |
( |
|
x | ) |
((x) ? "TRUE" : "FALSE") |
◆ sqr
| #define sqr |
( |
|
x | ) |
((x)*(x)) |
◆ bkp_bump_col()
| row_elt* bkp_bump_col |
( |
SPMAT * |
A, |
|
|
int |
j, |
|
|
int * |
row, |
|
|
int * |
idx |
|
) |
| |
◆ bkp_interchange()
| SPMAT* bkp_interchange |
( |
SPMAT * |
A, |
|
|
int |
i1, |
|
|
int |
i2 |
|
) |
| |
◆ bkp_swap_elt()
| static SPMAT* bkp_swap_elt |
( |
SPMAT * |
A, |
|
|
int |
i1, |
|
|
int |
j1, |
|
|
int |
idx1, |
|
|
int |
i2, |
|
|
int |
j2, |
|
|
int |
idx2 |
|
) |
| |
|
static |
◆ chk_col_access()
| int chk_col_access |
( |
SPMAT * |
A | ) |
|
◆ col_cmp()
◆ iv_min()
| int iv_min |
( |
IVEC * |
iv, |
|
|
int * |
index |
|
) |
| |
◆ max_row_col()
| static double max_row_col |
( |
SPMAT * |
A, |
|
|
int |
i, |
|
|
int |
j, |
|
|
int |
l |
|
) |
| |
|
static |
◆ nonzeros()
| static int nonzeros |
( |
SPMAT * |
A | ) |
|
|
static |
◆ spBKPfactor()
◆ spBKPsolve()
◆ unord_get_idx()
| int unord_get_idx |
( |
SPROW * |
r, |
|
|
int |
j |
|
) |
| |
◆ unord_get_val()
| double unord_get_val |
( |
SPMAT * |
A, |
|
|
int |
i, |
|
|
int |
j |
|
) |
| |
◆ rcsid
| char rcsid[] = "spbkp.c,v 1.1 1997/12/04 17:55:50 hines Exp" |
|
static |