Go to the source code of this file.
Definition at line 18 of file part.c.
24 for(p = prow->
first_col; p != 0; p = p->next_col) {
25 (void)
sm_insert(A, p->row_num, p->col_num);
sm_element * sm_insert(sm_matrix *A, int row, int col)
typedefABC_NAMESPACE_HEADER_START struct sm_element_struct sm_element
Definition at line 88 of file part.c.
92 int cols_visited, rows_visited;
109 cols_visited = rows_visited = 0;
static void copy_row(sm_matrix *A, sm_row *prow)
ABC_NAMESPACE_IMPL_START sm_matrix * sm_alloc()
static int visit_row(sm_matrix *A, sm_row *prow, int *rows_visited, int *cols_visited)
static int visit_col |
( |
sm_matrix * |
A, |
|
|
sm_col * |
pcol, |
|
|
int * |
rows_visited, |
|
|
int * |
cols_visited |
|
) |
| |
|
static |
Definition at line 60 of file part.c.
72 if (*cols_visited == A->
ncols) {
75 for(p = pcol->
first_row; p != 0; p = p->next_row) {
78 if (
visit_row(A, prow, rows_visited, cols_visited)) {
#define sm_get_row(A, rownum)
static int visit_row(sm_matrix *A, sm_row *prow, int *rows_visited, int *cols_visited)
typedefABC_NAMESPACE_HEADER_START struct sm_element_struct sm_element
static int visit_row |
( |
sm_matrix * |
A, |
|
|
sm_row * |
prow, |
|
|
int * |
rows_visited, |
|
|
int * |
cols_visited |
|
) |
| |
|
static |
Definition at line 31 of file part.c.
43 if (*rows_visited == A->
nrows) {
46 for(p = prow->
first_col; p != 0; p = p->next_col) {
49 if (
visit_col(A, pcol, rows_visited, cols_visited)) {
#define sm_get_col(A, colnum)
static ABC_NAMESPACE_IMPL_START int visit_col()
typedefABC_NAMESPACE_HEADER_START struct sm_element_struct sm_element