Go to the source code of this file.
#define sm_foreach_col |
( |
|
A, |
|
|
|
pcol |
|
) |
| for(pcol = A->first_col; pcol != 0; pcol = pcol->next_col) |
#define sm_foreach_col_element |
( |
|
pcol, |
|
|
|
p |
|
) |
| for(p = pcol->first_row; p != 0; p = p->next_row) |
#define sm_foreach_row |
( |
|
A, |
|
|
|
prow |
|
) |
| for(prow = A->first_row; prow != 0; prow = prow->next_row) |
#define sm_foreach_row_element |
( |
|
prow, |
|
|
|
p |
|
) |
| for(p = prow->first_col; p != 0; p = p->next_col) |
#define sm_get |
( |
|
type, |
|
|
|
x |
|
) |
| ((type) (x->user_word)) |
#define sm_get_col |
( |
|
A, |
|
|
|
colnum |
|
) |
| |
Value:(((colnum) >= 0 && (colnum) < (A)->cols_size) ? \
(A)->cols[colnum] : (
sm_col *) 0)
Definition at line 89 of file sparse.h.
#define sm_get_row |
( |
|
A, |
|
|
|
rownum |
|
) |
| |
Value:(((rownum) >= 0 && (rownum) < (A)->rows_size) ? \
(A)->rows[rownum] : (
sm_row *) 0)
Definition at line 93 of file sparse.h.
#define sm_put |
( |
|
x, |
|
|
|
val |
|
) |
| (x->user_word = (char *) val) |
int sm_block_partition |
( |
| ) |
|
Definition at line 552 of file matrix.c.
554 #ifdef FAST_AND_LOOSE
556 register sm_row *prow, *pnextrow;
557 register sm_col *pcol, *pnextcol;
559 for(p = sm_element_freelist; p != 0; p = pnext) {
563 sm_element_freelist = 0;
565 for(prow = sm_row_freelist; prow != 0; prow = pnextrow) {
571 for(pcol = sm_col_freelist; pcol != 0; pcol = pnextcol) {
typedefABC_NAMESPACE_HEADER_START struct sm_element_struct sm_element
int sm_col_intersects |
( |
| ) |
|
int sm_read_compressed |
( |
| ) |
|
void sm_remove_element |
( |
| ) |
|
int sm_row_intersects |
( |
| ) |
|