#include "sparse_int.h"
Go to the source code of this file.
Functions | |
| ABC_NAMESPACE_IMPL_START sm_matrix * | sm_alloc () |
| sm_matrix * | sm_alloc_size (int row, int col) |
| void | sm_free (sm_matrix *A) |
| sm_matrix * | sm_dup (sm_matrix *A) |
| void | sm_resize (sm_matrix *A, int row, int col) |
| sm_element * | sm_insert (sm_matrix *A, int row, int col) |
| sm_element * | sm_find (sm_matrix *A, int rownum, int colnum) |
| void | sm_remove (sm_matrix *A, int rownum, int colnum) |
| void | sm_remove_element (sm_matrix *A, sm_element *p) |
| void | sm_delrow (sm_matrix *A, int i) |
| void | sm_delcol (sm_matrix *A, int i) |
| void | sm_copy_row (sm_matrix *dest, int dest_row, sm_row *prow) |
| void | sm_copy_col (sm_matrix *dest, int dest_col, sm_col *pcol) |
| sm_row * | sm_longest_row (sm_matrix *A) |
| sm_col * | sm_longest_col (sm_matrix *A) |
| int | sm_num_elements (sm_matrix *A) |
| int | sm_read (FILE *fp, sm_matrix **A) |
| int | sm_read_compressed (FILE *fp, sm_matrix **A) |
| void | sm_write (FILE *fp, sm_matrix *A) |
| void | sm_print (FILE *fp, sm_matrix *A) |
| void | sm_dump (sm_matrix *A, char *s, int max) |
| void | sm_cleanup () |
| ABC_NAMESPACE_IMPL_START sm_matrix * sm_alloc | ( | ) |
| sm_matrix * sm_alloc_size | ( | int | row, |
| int | col ) |
| void sm_cleanup | ( | ) |
Definition at line 552 of file matrix.c.

| void sm_delcol | ( | sm_matrix * | A, |
| int | i ) |
Definition at line 307 of file matrix.c.

| void sm_delrow | ( | sm_matrix * | A, |
| int | i ) |
Definition at line 273 of file matrix.c.

| void sm_dump | ( | sm_matrix * | A, |
| char * | s, | ||
| int | max ) |
| sm_element * sm_find | ( | sm_matrix * | A, |
| int | rownum, | ||
| int | colnum ) |
Definition at line 205 of file matrix.c.

| void sm_free | ( | sm_matrix * | A | ) |
Definition at line 60 of file matrix.c.

| sm_element * sm_insert | ( | sm_matrix * | A, |
| int | row, | ||
| int | col ) |
Definition at line 155 of file matrix.c.

| int sm_num_elements | ( | sm_matrix * | A | ) |
Definition at line 406 of file matrix.c.
| void sm_print | ( | FILE * | fp, |
| sm_matrix * | A ) |
Definition at line 489 of file matrix.c.

| int sm_read | ( | FILE * | fp, |
| sm_matrix ** | A ) |
Definition at line 420 of file matrix.c.

| int sm_read_compressed | ( | FILE * | fp, |
| sm_matrix ** | A ) |
Definition at line 441 of file matrix.c.

| void sm_remove | ( | sm_matrix * | A, |
| int | rownum, | ||
| int | colnum ) |
| void sm_remove_element | ( | sm_matrix * | A, |
| sm_element * | p ) |
Definition at line 240 of file matrix.c.

| void sm_resize | ( | sm_matrix * | A, |
| int | row, | ||
| int | col ) |
| void sm_write | ( | FILE * | fp, |
| sm_matrix * | A ) |