![]() |
GHOST
1.1.2
General, Hybrid, and Optimized Sparse Toolkit
|
Functionality for Market Market file read-in. More...
#include "types.h"

Go to the source code of this file.
Macros | |
| #define | GHOST_SPARSEMAT_ROWFUNC_MM_ROW_INIT -1 |
| #define | GHOST_SPARSEMAT_ROWFUNC_MM_ROW_FINALIZE -2 |
| #define | GHOST_SPARSEMAT_ROWFUNC_MM_ROW_GETRPT -3 |
| #define | GHOST_SPARSEMAT_ROWFUNC_MM_ROW_GETDIM -4 |
Functions | |
| int | ghost_sparsemat_rowfunc_mm (ghost_gidx row, ghost_lidx *rowlen, ghost_gidx *col, void *val, void *arg) |
| int | ghost_sparsemat_rowfunc_mm_transpose (ghost_gidx row, ghost_lidx *rowlen, ghost_gidx *col, void *val, void *arg) |
Functionality for Market Market file read-in.
| #define GHOST_SPARSEMAT_ROWFUNC_MM_ROW_FINALIZE -2 |
| #define GHOST_SPARSEMAT_ROWFUNC_MM_ROW_GETDIM -4 |
| #define GHOST_SPARSEMAT_ROWFUNC_MM_ROW_GETRPT -3 |
| #define GHOST_SPARSEMAT_ROWFUNC_MM_ROW_INIT -1 |
| int ghost_sparsemat_rowfunc_mm | ( | ghost_gidx | row, |
| ghost_lidx * | rowlen, | ||
| ghost_gidx * | col, | ||
| void * | val, | ||
| void * | arg | ||
| ) |
| row | |
| rowlen | |
| col | |
| val |
If called with row GHOST_SPARSEMAT_ROWFUNC_MM_ROW_INIT, the parameter val has to be a ghost_sparsemat_rowfunc_mm_initargs * with the according information filled in. The parameter col has to be a ghost_gidx[2] in which the number of rows and columns will be stored.

| int ghost_sparsemat_rowfunc_mm_transpose | ( | ghost_gidx | row, |
| ghost_lidx * | rowlen, | ||
| ghost_gidx * | col, | ||
| void * | val, | ||
| void * | arg | ||
| ) |

1.8.6