Function puma::export_Textfile(Workspace *, std::string, bool, bool, bool, short, short)

Function Documentation

bool puma::export_Textfile(Workspace *work, std::string fileName, bool header = false, bool scientific = true, bool showpositive = false, short precision = 6, short width = 15)

Exporting a workspace to a txt file

Parameters
  • work – the workspace 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