Function Utils::appendSave(const arma::vec&, const std::string&, const std::string&, bool)

Function Documentation

void Utils::appendSave(const arma::vec &matrix, const std::string &out, const std::string &header = "", bool erase = false)

Utility to append an arma::vec to a data file.

Parameters
  • matrix – The arma::vec to be saved

  • out – The output file

  • header – An optional header

  • erase – Erase the file?