file_io
file_io.cpp File Reference
#include "file_io.h"
#include <cassert>
#include <fstream>
#include <iostream>
#include <stdexcept>
#include <string>
#include <vector>
Include dependency graph for file_io.cpp:

Go to the source code of this file.

Functions

void fill_vector (istream &istr, vector< double > &v)
 
void read_vector_from_file (const string &file_name, vector< double > &v)
 
void write_vector_to_file (const string &file_name, const vector< double > &v)
 

Function Documentation

◆ fill_vector()

void fill_vector ( istream &  istr,
vector< double > &  v 
)

Definition at line 11 of file file_io.cpp.

Here is the caller graph for this function:

◆ read_vector_from_file()

void read_vector_from_file ( const string &  file_name,
vector< double > &  v 
)

Definition at line 29 of file file_io.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_vector_to_file()

void write_vector_to_file ( const string &  file_name,
const vector< double > &  v 
)

Definition at line 44 of file file_io.cpp.

Here is the caller graph for this function: