|
void | writeNPY (const Eigen::MatrixXd &matrix, const std::string &filename) |
|
Eigen::MatrixXd | readNPY (const std::string &filename) |
| Read from an NPY file containing a single floating point matrix. More...
|
|
Eigen::MatrixXi | readNPYi (const std::string &filename) |
| Read from an NPY file containing a single integer matrix. More...
|
|
Eigen::MatrixXcd | readNPYc (const std::string &filename) |
| Read from an NPY file containing a single complex matrix. More...
|
|
Eigen::MatrixXd | readNPZ (const std::string &filename, const std::string &key) |
| Read from a specific key of an NPZ file containing a single floating point matrix. More...
|
|
void | writeNPZ (const std::string &filename, const std::map< std::string, Eigen::MatrixXd > &mats, bool overwrite) |
|
void | writeNPY (const std::string &filename, const Eigen::MatrixXd &matrix) |
|
std::vector< std::string > & | split (const std::string &s, const char delim, std::vector< std::string > &elems) |
|
std::vector< std::string > | split (const std::string &stringToSplit, const char delimiterForSplitting= ' ') |
| Split string. More...
|
|
std::string | join (const std::vector< std::string > &stringArray, const std::string glue=" ") |
| Concatenate String. More...
|
|
template<typename ValueType > |
ValueType | from_string (const std::string &stringToParse) |
| Parse value from string.
|
|
template<typename ValueType > |
std::string | to_string (const ValueType &v) |
| Convert Value to String.
|
|
template<typename ValueType , typename... Vr> |
std::string | to_string (const ValueType &v, Vr...vr) |
| Convert Value to String.
|
|
template<> |
std::string | to_string< bool > (const bool &v) |
| Convert bool to string.
|
|
template<> |
std::string | to_string< float > (const float &v) |
| Convert float to string with 10 significant digits.
|
|
template<> |
std::string | to_string< double > (const double &v) |
| Convert double to string with 20 significant digits.
|
|
template<> |
std::string | to_string< long double > (const long double &v) |
| Convert long double to string with 40 significant digits.
|
|
Namespace for input output functions.