mmread.h

Header for the interface to MatrixMarket driver writen in mmio.c

Summary
mmread.hHeader for the interface to MatrixMarket driver writen in mmio.c
MatrixMarketReadReads a matrix in matrix market format

MatrixMarketRead

void MatrixMarketRead(char const *filename,
pastix_int_t *Ncol,
pastix_int_t *Nrow,
pastix_int_t *Nnzero,
pastix_int_t **col,
pastix_int_t **row,
pastix_float_t **val,
char **Type,
char **RhsType)

Reads a matrix in matrix market format

For more information about matrix market format see mmio.c/mmio.h

Parameters

dirnamePath to the directory containing matrix
NcolNumber of columns
NrowNumber of rows
NnzeroNumber of non zeros
colIndex of first element of each column in row and val
rowRow of eah element
valValue of each element
TypeType of the matrix
RhsTypeType of the right-hand-side.
void MatrixMarketRead(char const *filename,
pastix_int_t *Ncol,
pastix_int_t *Nrow,
pastix_int_t *Nnzero,
pastix_int_t **col,
pastix_int_t **row,
pastix_float_t **val,
char **Type,
char **RhsType)
Reads a matrix in matrix market format
Close