Function Dune::XT::LA::to_file

template<class M>
void Dune::XT::LA::to_file(const int &matrix, const std::string &filename, const std::string &mode = <recovery-expr>("ascii"))

Writes a matrix to the given file (currently only ‘ascii’ mode is supported).