|
template<typename MATRIX > |
void | load_csv (const std::string &path, MATRIX &M) |
| Loads a matrix from a CSV text file. More...
|
|
bool | vectorToBinaryFile (const std::vector< uint8_t > &vec, const std::string &fileName) |
| Saves a vector directly as a binary dump to a file: More...
|
|
bool | loadBinaryFile (std::vector< uint8_t > &out_data, const std::string &fileName) |
| Loads a entire file as a vector of bytes. More...
|
|
bool | loadTextFile (std::vector< std::string > &o, const std::string &fileName) |
| Loads a text file as a vector of string lines. More...
|
|
std::string | file_get_contents (const std::string &fileName) |
| Loads an entire text file and return its contents as a single std::string. More...
|
|
bool | vectorToTextFile (const std::vector< float > &vec, const std::string &fileName, bool append=false, bool byRows=false) |
| A useful function for debugging, which saves a numeric std::vector as a plain-text file compatible with MATLAB. More...
|
|
bool | vectorToTextFile (const std::vector< double > &vec, const std::string &fileName, bool append=false, bool byRows=false) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
bool | vectorToTextFile (const std::vector< int > &vec, const std::string &fileName, bool append=false, bool byRows=false) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
bool | vectorToTextFile (const std::vector< size_t > &vec, const std::string &fileName, bool append=false, bool byRows=false) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
template<class EIGEN_MATRIX > |
bool | vectorToTextFile (const EIGEN_MATRIX &vec, const std::string &fileName) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
|
|
bool | vectorNumericFromTextFile (std::vector< double > &vec, const std::string &fileName, const bool byRows=false) |
| Load a numeric std::vector<double> from a text file (compat. More...
|
|