15 arma::sp_mat
resize_patch(
const arma::sp_mat &Mat,
const unsigned int nR,
16 const unsigned int nC);
18 arma::mat
resize_patch(
const arma::mat &Mat,
const unsigned int nR,
19 const unsigned int nC);
21 arma::vec
resize_patch(
const arma::vec &Mat,
const unsigned int nR);
24 void appendSave(
const vec &matrix,
const std::string out,
25 const std::string header =
"",
bool erase =
false);
27 long int appendRead(vec &matrix,
const std::string in,
long int pos,
28 const std::string header =
"");
31 void appendSave(
const sp_mat &matrix,
const std::string out,
32 const std::string header =
"",
bool erase =
false);
34 long int appendRead(sp_mat &matrix,
const std::string in,
long int pos,
35 const std::string header =
"");
38 void appendSave(
const std::vector<double> v,
const std::string out,
39 const std::string header =
"",
bool erase =
false);
41 long int appendRead(std::vector<double> &v,
const std::string in,
long int pos,
42 const std::string header =
"");
45 void appendSave(
const std::string v,
const std::string out,
bool erase =
false);
47 long int appendRead(std::string &v,
const std::string in,
long int pos);
50 void appendSave(
const long int v,
const std::string out,
51 const std::string header =
"",
bool erase =
false);
53 long int appendRead(
long int &v,
const std::string in,
long int pos,
54 const std::string header =
"");
57 void appendSave(
const unsigned int v,
const std::string out,
58 const std::string header =
"",
bool erase =
false);
60 long int appendRead(
unsigned int &v,
const std::string in,
long int pos,
61 const std::string header =
"");
64 unsigned long int vec_to_num(std::vector<short int> binary);
66 std::vector<short int>
num_to_vec(
unsigned long int number,
67 const unsigned int &nCompl);
unsigned long int vec_to_num(std::vector< short int > binary)
void appendSave(const vector< double > v, const string out, const string header, bool erase)
arma::vec resize_patch(const arma::vec &Mat, const unsigned int nR)
long int appendRead(vector< double > &v, const string in, long int pos, const string header)
std::vector< short int > num_to_vec(unsigned long int number, const unsigned int &nCompl)