Function Dune::XT::LA::to_file

Function template Dune::XT::LA::to_file

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

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

Function template Dune::XT::LA::to_file

template<class V>
void Dune::XT::LA::to_file(const VectorInterface<V> &vector, const std::string &filename, const std::string &mode = "ascii")

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