CMP++: Uncertainty Quantification & Bayesian Calibration
Loading...
Searching...
No Matches
io.h File Reference
#include <cmp_defines.h>
Include dependency graph for io.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cmp
 

Functions

void cmp::write_vector (const std::vector< Eigen::VectorXd > &data, std::ofstream &o_file)
 Serializes a list of vector coordinates to a file stream.
 
void cmp::write_data (const std::vector< Eigen::VectorXd > &x, const Eigen::MatrixXd &y, std::ofstream &o_file)
 Write data points and evaluations to a file.
 
std::vector< Eigen::VectorXd > cmp::read_vector (std::ifstream &i_file, std::string delimiter=",", size_t header=0)
 Read the contents of a delimited text file into vector collections.