ergo
|
File containing definition of functions for reading/writing dense matrices and vectors. More...
#include "files_dense.h"
Macros | |
#define | PRECISION 16 |
Typedefs | |
typedef ergo_real | real |
Functions | |
int | read_matrix (const char *filename, vector< real > &A, int &N, int &M, bool is_binary) |
int | read_vector (const char *filename, vector< real > &A, int &N, bool is_binary) |
int | write_matrix (const char *filename, const vector< real > &A, int N, int M) |
int | write_vector (const char *filename, const vector< real > &v) |
File containing definition of functions for reading/writing dense matrices and vectors.
#define PRECISION 16 |
Referenced by write_matrix(), and write_vector().
int read_matrix | ( | const char * | filename, |
vector< real > & | A, | ||
int & | N, | ||
int & | M, | ||
bool | is_binary | ||
) |
References A.
int read_vector | ( | const char * | filename, |
vector< real > & | A, | ||
int & | N, | ||
bool | is_binary | ||
) |
int write_matrix | ( | const char * | filename, |
const vector< real > & | A, | ||
int | N, | ||
int | M | ||
) |
int write_vector | ( | const char * | filename, |
const vector< real > & | v | ||
) |
References PRECISION.
Referenced by main(), and PurificationGeneral< MatrixType >::save_eigenvectors_to_file().