25#define MM_MAX_LINE_LENGTH 100025
26#define MatrixMarketBanner "%%MatrixMarket"
27#define MM_MAX_TOKEN_LENGTH 64
42#define MM_COULD_NOT_READ_FILE 11
43#define MM_PREMATURE_EOF 12
45#define MM_NO_HEADER 14
46#define MM_UNSUPPORTED_TYPE 15
47#define MM_LINE_TOO_LONG 16
65#define MM_MTX_STR "matrix"
66#define MM_COORDINATE_STR "coordinate"
67#define MM_SPARSE_STR "coordinate"
68#define MM_COMPLEX_STR "complex"
69#define MM_REAL_STR "real"
70#define MM_INT_STR "integer"
71#define MM_GENERAL_STR "general"
72#define MM_SYMM_STR "symmetric"
73#define MM_HERM_STR "hermitian"
74#define MM_SKEW_STR "skew-symmetric"
75#define MM_PATTERN_STR "pattern"
int mm_read_mtx_crd_size(FILE *f, int *M, int *N, int *nz)
int mm_read_banner(FILE *f, MM_typecode *matcode)
int type
one of the MATRIX_TYPE_* values from lib/sparse