Function puma::export_bin(Matrix<float> *, const std::string&)

Function Documentation

bool puma::export_bin(Matrix<float> *matrix, const std::string &fileName)

Exports a puma::Matrix<float> to a binary file (with extension .puma)

Parameters
  • matrix – Pointer to a puma::Workspace to be exported,

  • fileName – std::string containing the location and filename for export, Ex: /home/jsmith/Desktop/myMatrix.puma

Returns

bool True if output was successful, False if an error occured.