Function Utils::appendRead(arma::vec&, const std::string&, long int, const std::string&)

Function Documentation

long int Utils::appendRead(arma::vec &matrix, const std::string &in, long int pos, const std::string &header = "")

Utility to read an arma::vec from a long file.

  • matrix – The output matrix

  • in – The input file

  • pos – The position of matrix in the file

  • header – An optional header


The end position from which the next data object can be read.