Graphviz 13.0.0~dev.20241220.2304
|
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <sparse/SparseMatrix.h>
#include <util/startswith.h>
#include <util/strcasecmp.h>
#include "mmio.h"
Go to the source code of this file.
Functions | |
int | mm_read_banner (FILE *f, MM_typecode *matcode) |
int | mm_read_mtx_crd_size (FILE *f, int *M, int *N, int *nz) |
int mm_read_banner | ( | FILE * | f, |
MM_typecode * | matcode | ||
) |
Definition at line 28 of file mmio.c.
References MATRIX_TYPE_COMPLEX, MATRIX_TYPE_INTEGER, MATRIX_TYPE_PATTERN, MATRIX_TYPE_REAL, MatrixMarketBanner, MM_COMPLEX_STR, MM_GENERAL_STR, MM_HERM_STR, MM_INT_STR, MM_MAX_LINE_LENGTH, MM_MAX_TOKEN_LENGTH, MM_MTX_STR, MM_NO_HEADER, MM_PATTERN_STR, MM_PREMATURE_EOF, MM_REAL_STR, MM_SKEW_STR, MM_SPARSE_STR, MM_SYMM_STR, MM_UNSUPPORTED_TYPE, MS_GENERAL, MS_HERMITIAN, MS_SKEW, MS_SYMMETRIC, NULL, MM_typecode::shape, startswith(), and MM_typecode::type.
Referenced by SparseMatrix_import_matrix_market().
int mm_read_mtx_crd_size | ( | FILE * | f, |
int * | M, | ||
int * | N, | ||
int * | nz | ||
) |
Definition at line 92 of file mmio.c.
References M, MM_MAX_LINE_LENGTH, MM_PREMATURE_EOF, N, and NULL.
Referenced by SparseMatrix_import_matrix_market().