Go to the documentation of this file.
38 #ifndef FILES_SPARSE_BIN_HEADER
39 #define FILES_SPARSE_BIN_HEADER
54 void write_matrix_to_bin(
const char* filename,
const vector<int> &I,
const vector<int> &J,
const vector<real> &val,
const int &N);
58 void read_matrix_from_bin(
const char* filename, std::vector<int> &I, vector<int> &J, vector<real> &val,
int &N,
int &M);
void write_matrix_to_bin(const char *filename, const std::vector< int > &I, const std::vector< int > &J, const std::vector< real > &val, const int &N)
Definition: files_sparse_bin.cc:43
Definition of the main floating-point datatype used; the ergo_real type.
void write_matrix_to_bin(const char *filename, const vector< int > &I, const vector< int > &J, const vector< real > &val, const int &N)
double ergo_real
Definition: realtype.h:69
ergo_real real
Definition: test.cc:46
void read_matrix_from_bin(const char *filename, std::vector< int > &I, vector< int > &J, vector< real > &val, int &N, int &M)
ergo_real real
Definition: files_sparse_bin.h:52
void read_matrix_from_bin_Elias_format(const char *filename, std::vector< int > &I, std::vector< int > &J, std::vector< real > &val)
Read data from the binary file.
Definition: files_sparse_bin.cc:98
void read_matrix_from_bin(const char *filename, std::vector< int > &I, std::vector< int > &J, std::vector< real > &val, int &N, int &M)
Read data from the binary file.
Definition: files_sparse_bin.cc:147
File containing declaration of functions for reading/writing sparse matrices from/to binary files.
void read_matrix_from_bin_Elias_format(const char *filename, std::vector< int > &I, std::vector< int > &J, std::vector< real > &val)
Read data from the binary file.
Definition: files_sparse_bin.cc:98