EVSL
1.1.0
EigenValues Slicing Library
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "mmio.h"
#include "io.h"
#include "evsl.h"
Go to the source code of this file.
Macros | |
#define | ERR_IO 10 |
Functions | |
char * | mybasename (const char *name) |
int | get_matrix_info (FILE *fmat, io_t *pio) |
int | read_coo_MM (const char *matfile, int idxin, int idxout, cooMat *Acoo) |
int | findarg (const char *argname, ARG_TYPE type, void *val, int argc, char **argv) |
#define ERR_IO 10 |
Definition at line 9 of file io.c.
Referenced by get_matrix_info().
int findarg | ( | const char * | argname, |
ARG_TYPE | type, | ||
void * | val, | ||
int | argc, | ||
char ** | argv | ||
) |
int get_matrix_info | ( | FILE * | fmat, |
io_t * | pio | ||
) |
Definition at line 22 of file io.c.
References _io_t::a, _io_t::b, ERR_IO, _io_t::Fmt, _io_t::Fname, _io_t::Fname1, _io_t::Fname2, _io_t::MatNam, _io_t::MatNam1, _io_t::MatNam2, MAX_LINE, MaxNamLen, MM0, MM1, and _io_t::n_intv.
Referenced by main().
int read_coo_MM | ( | const char * | matfile, |
int | idxin, | ||
int | idxout, | ||
cooMat * | Acoo | ||
) |
Definition at line 72 of file io.c.
References _cooMat::ir, _cooMat::jc, MAX_LINE, mm_is_coordinate, mm_is_integer, mm_is_real, mm_is_sparse, mm_is_symmetric, mm_is_valid(), mm_read_banner(), mm_read_mtx_crd_size(), _cooMat::ncols, _cooMat::nnz, _cooMat::nrows, and _cooMat::vv.
Referenced by main().