AUTh-ARL Core Stack  0.7
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
arl::io Namespace Reference

Classes

class  Logger
 Helper class providing logging capabilities. Useful in control loops for logging data and easily parsing to Matlab. More...
 

Functions

void read_mat (arma::mat &m, int64_t n_rows, int64_t n_cols, std::istream &in=std::cin, bool binary=false)
 Reads a 2D matrix from stream in. More...
 
void read_mat (arma::mat &m, std::istream &in=std::cin, bool binary=false)
 Reads a 2D matrix from stream in. More...
 
void read_vec (arma::vec &v, std::istream &in=std::cin, bool binary=false)
 Reads a column vector from stream in. More...
 
void read_rowVec (arma::rowvec &v, std::istream &in=std::cin, bool binary=false)
 Reads a row vector from stream in. More...
 
void read_vec_mat (std::vector< arma::mat > &m, std::istream &in=std::cin, bool binary=false)
 Reads a vector of 2D matrices from stream in. More...
 
void write_mat (const arma::mat &m, int n_rows, int n_cols, std::ostream &out=std::cout, bool binary=false)
 Writes a 2D matrix in stream 'fid'. More...
 
void write_mat (const arma::mat &m, std::ostream &out=std::cout, bool binary=false)
 Writes a 2D matrix in stream out. More...
 
void write_vec (arma::vec &v, std::ostream &out=std::cout, bool binary=false)
 Writes a column vector in stream out. More...
 
void write_rowVec (arma::rowvec &v, std::ostream &out=std::cout, bool binary=false)
 Writes a row vector in stream out. More...
 
void write_vec_mat (std::vector< arma::mat > &m, std::ostream &out=std::cout, bool binary=false)
 Writes a vector of 2D matrices in stream out. More...