]>
Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_matrix.hpp
1 #ifndef STLPLUS_PRINT_MATRIX
2 #define STLPLUS_PRINT_MATRIX
3 ////////////////////////////////////////////////////////////////////////////////
5 // Author: Andy Rushton
6 // Copyright: (c) Southampton University 1999-2004
7 // (c) Andy Rushton 2004-2009
8 // License: BSD License, see ../docs/license.html
10 // Generate a string representation of a matrix
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
18 ////////////////////////////////////////////////////////////////////////////////
23 template<typename T
, typename S
>
24 void print_matrix(std::ostream
& device
,
25 const matrix
<T
>& values
,
27 const std::string
& column_separator
= "|",
28 const std::string
& row_separator
= ",");
30 } // end namespace stlplus
32 #include "print_matrix.tpp"
This page took 0.035906 seconds and 4 git commands to generate.