|
ergo
|
File containing declaration of functions for reading/writing dense matrices and vectors. More...
#include "realtype.h"#include <iostream>#include <fstream>#include <vector>#include <cmath>#include <string.h>Go to the source code of this file.
Macros | |
| #define | PRECISION 16 |
Functions | |
| int | read_matrix (const char *filename, vector< real > &A, int &N, int &M, bool is_binary=false) |
| 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 declaration of functions for reading/writing dense matrices and vectors.
| #define PRECISION 16 |
| int read_matrix | ( | const char * | filename, |
| vector< real > & | A, | ||
| int & | N, | ||
| int & | M, | ||
| bool | is_binary = false ) |
References A.
Referenced by get_matrix_from_binary(), get_matrix_from_binary_vec(), and get_matrix_from_full().
| 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_selected_eigenvector_to_file().