Template Function puma::export_Textfile(Matrix<T> *, std::string, bool, bool, bool, short, short)
Defined in File export_textfile.h
Function Documentation
-
template<class T>
bool puma::export_Textfile(Matrix<T> *matrix, std::string fileName, bool header = false, bool scientific = true, bool showpositive = false, short precision = 6, short width = 15) Exporting a matrix to a txt file
- Parameters
matrix – the matrix to export
fileName – the name of the file
header – add title header on first line
scientific – scientific notation
showpositive – show positive sign
precision – decimal place for rounding precision
width – text width
- Returns
true for success or false for fail