Skip to content
Snippets Groups Projects
Commit 753e30c6 authored by Mark Woolrich's avatar Mark Woolrich
Browse files

*** empty log message ***

parent d55fca62
No related branches found
No related tags found
No related merge requests found
......@@ -41,6 +41,13 @@ namespace MISCMATHS {
// IO/string stuff
template <class T> string num2str(T n, int width=-1);
string size(const Matrix& mat)
{
string str = num2str(mat.Nrows())+"*"+num2str(mat.Ncols());
return str;
}
bool isnum(const string& str);
ReturnMatrix read_ascii_matrix(const string& filename, int nrows, int ncols);
ReturnMatrix read_ascii_matrix(int nrows, int ncols, const string& filename);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment