X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fstlplus%2Fstrings%2Fprint_matrix.hpp;h=b7f321a9f0f42078058be5eb9db948f49123988c;hp=f3fb8d540aaed543b5b1792b97fe93cc96e03f77;hb=5846afb00833cc72fe72422ca896d2387c712cb4;hpb=a97500609dc3c1b11f9786d32bc458eb00de4c36 diff --git a/src/stlplus/strings/print_matrix.hpp b/src/stlplus/strings/print_matrix.hpp index f3fb8d5..b7f321a 100644 --- a/src/stlplus/strings/print_matrix.hpp +++ b/src/stlplus/strings/print_matrix.hpp @@ -1,33 +1,33 @@ -#ifndef STLPLUS_PRINT_MATRIX -#define STLPLUS_PRINT_MATRIX -//////////////////////////////////////////////////////////////////////////////// - -// Author: Andy Rushton -// Copyright: (c) Southampton University 1999-2004 -// (c) Andy Rushton 2004-2009 -// License: BSD License, see ../docs/license.html - -// Generate a string representation of a matrix - -//////////////////////////////////////////////////////////////////////////////// -#include "strings_fixes.hpp" -#include "matrix.hpp" -#include -#include - -//////////////////////////////////////////////////////////////////////////////// - -namespace stlplus -{ - - template - void print_matrix(std::ostream& device, - const matrix& values, - S print_fn, - const std::string& column_separator = "|", - const std::string& row_separator = ","); - -} // end namespace stlplus - -#include "print_matrix.tpp" -#endif +#ifndef STLPLUS_PRINT_MATRIX +#define STLPLUS_PRINT_MATRIX +//////////////////////////////////////////////////////////////////////////////// + +// Author: Andy Rushton +// Copyright: (c) Southampton University 1999-2004 +// (c) Andy Rushton 2004-2009 +// License: BSD License, see ../docs/license.html + +// Generate a string representation of a matrix + +//////////////////////////////////////////////////////////////////////////////// +#include "strings_fixes.hpp" +#include "matrix.hpp" +#include +#include + +//////////////////////////////////////////////////////////////////////////////// + +namespace stlplus +{ + + template + void print_matrix(std::ostream& device, + const matrix& values, + S print_fn, + const std::string& column_separator = "|", + const std::string& row_separator = ","); + +} // end namespace stlplus + +#include "print_matrix.tpp" +#endif