file_io
file_io.h
Go to the documentation of this file.
1 #ifndef FILE_IO_H_INCLUDED
2 #define FILE_IO_H_INCLUDED
3 
4 #include <string>
5 #include <vector>
6 //using namespace std;
7 
8 
17 void read_vector_from_file(const std::string& file_name, std::vector<double>& v);
18 
19 
29 void write_vector_to_file(const std::string& file_name, const std::vector<double>& v);
30 
38 void fill_vector(std::istream& istr, std::vector<double>& v);
39 
40 #endif // FILE_IO_H_INCLUDED
read_vector_from_file
void read_vector_from_file(const std::string &file_name, std::vector< double > &v)
fill_vector
void fill_vector(std::istream &istr, std::vector< double > &v)
write_vector_to_file
void write_vector_to_file(const std::string &file_name, const std::vector< double > &v)