Function Dune::XT::LA::from_file¶
Function template Dune::XT::LA::from_file¶
-
template<class M>
typename std::enable_if<is_matrix<M>::value, M>::type Dune::XT::LA::from_file(const std::string &filename, const ssize_t min_rows = -1, const ssize_t min_cols = -1, const std::string &mode = "ascii")¶ Reads a matrix of type M from the given file (optionally enforcing minimum dimensions).