]> Dogcows Code - chaz/yoink/blob - src/stlplus/strings/print_matrix.hpp
cleanup stlplus files
[chaz/yoink] / src / stlplus / strings / print_matrix.hpp
1 #ifndef STLPLUS_PRINT_MATRIX
2 #define STLPLUS_PRINT_MATRIX
3 ////////////////////////////////////////////////////////////////////////////////
4
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
9
10 // Generate a string representation of a matrix
11
12 ////////////////////////////////////////////////////////////////////////////////
13 #include "strings_fixes.hpp"
14 #include "matrix.hpp"
15 #include <string>
16 #include <iostream>
17
18 ////////////////////////////////////////////////////////////////////////////////
19
20 namespace stlplus
21 {
22
23 template<typename T, typename S>
24 void print_matrix(std::ostream& device,
25 const matrix<T>& values,
26 S print_fn,
27 const std::string& column_separator = "|",
28 const std::string& row_separator = ",");
29
30 } // end namespace stlplus
31
32 #include "print_matrix.tpp"
33 #endif
This page took 0.035575 seconds and 4 git commands to generate.