Function vector_to_file(std::vector<double> const&, std::string const&)

Function Documentation

void vector_to_file(std::vector<double> const &vec, std::string const &filename)

Saves vector to CSV File

This function saves a std double vector to a CSV file e.g. for easy plotting with python

Parameters
  • vec – vector to be saved

  • filename – path to output file