GHOST  1.1.2
General, Hybrid, and Optimized Sparse Toolkit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
matrixmarket.h File Reference

Functionality for Market Market file read-in. More...

#include "types.h"
Include dependency graph for matrixmarket.h:
This graph shows which files directly or indirectly include this file:

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)
 

Detailed Description

Functionality for Market Market file read-in.

Author
Moritz Kreutzer morit.nosp@m.z.kr.nosp@m.eutze.nosp@m.r@fa.nosp@m.u.de

Macro Definition Documentation

#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

Function Documentation

int ghost_sparsemat_rowfunc_mm ( ghost_gidx  row,
ghost_lidx rowlen,
ghost_gidx col,
void *  val,
void *  arg 
)
Parameters
row
rowlen
col
val
Returns

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.

Here is the call graph for this function:

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

Here is the call graph for this function: