Function Dune::XT::Common::output_matrix

template<class M, class CharType, class CharTraits>
std::basic_ostream<CharType, CharTraits> &Dune::XT::Common::output_matrix(std::basic_ostream<CharType, CharTraits> &out, const M &mat)

writes a matrix to an output stream in MATLAB-like “[a b; c d]” notation