Function Dune::XT::LA::from_file

Function template Dune::XT::LA::from_file

template<class M>
int 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)

Reads a matrix of type M from the given file (optionally enforcing minimum dimensions).

Function template Dune::XT::LA::from_file

template<class V>
int Dune::XT::LA::from_file(const std::string &filename, const ssize_t min_size = -1, const std::string &mode)

Reads a vector of type V from the given file (optionally enforcing a minimum size).