Graphviz 12.0.1~dev.20240716.0800
Loading...
Searching...
No Matches
matrix_market.c File Reference
#include <sparse/SparseMatrix.h>
#include "mmio.h"
#include "matrix_market.h"
#include <cgraph/alloc.h>
#include <cgraph/unreachable.h>
#include <assert.h>
Include dependency graph for matrix_market.c:

Go to the source code of this file.

Functions

static int mm_get_type (MM_typecode typecode)
 
SparseMatrix SparseMatrix_import_matrix_market (FILE *f)
 

Function Documentation

◆ mm_get_type()

static int mm_get_type ( MM_typecode  typecode)
static

Definition at line 18 of file matrix_market.c.

References MATRIX_TYPE_COMPLEX, MATRIX_TYPE_INTEGER, MATRIX_TYPE_PATTERN, MATRIX_TYPE_REAL, MATRIX_TYPE_UNKNOWN, mm_is_complex, mm_is_integer, mm_is_pattern, and mm_is_real.

Referenced by SparseMatrix_import_matrix_market().

Here is the caller graph for this function:

◆ SparseMatrix_import_matrix_market()

SparseMatrix SparseMatrix_import_matrix_market ( FILE *  f)

Definition at line 32 of file matrix_market.c.

References A, free(), gv_calloc(), gv_recalloc(), I, MATRIX_TYPE_COMPLEX, MATRIX_TYPE_INTEGER, MATRIX_TYPE_PATTERN, MATRIX_TYPE_REAL, mm_get_type(), mm_is_hermitian, mm_is_matrix, mm_is_skew, mm_is_sparse, mm_is_symmetric, mm_read_banner(), mm_read_mtx_crd_size(), NULL, SparseMatrix_from_coordinate_arrays(), SparseMatrix_set_pattern_symmetric, SparseMatrix_set_symmetric, type, and UNREACHABLE.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function: