KrisLibrary  1.0.0
MatrixPrinter.h
1 #ifndef MATH_MATRIX_PRINTER_H
2 #define MATH_MATRIX_PRINTER_H
3 
4 #include "MatrixTemplate.h"
5 
6 namespace Math {
7 
9 {
10  enum Mode { Normal, AsciiShade, PlusMinus };
11 
12  MatrixPrinter(const fMatrix& m,Mode mode=Normal);
13  MatrixPrinter(const dMatrix& m,Mode mode=Normal);
14  MatrixPrinter(const cMatrix& m,Mode mode=Normal);
15  void Print(std::ostream& out,int indent=0) const;
16 
17  const fMatrix* fm;
18  const dMatrix* dm;
19  const cMatrix* cm;
20  char delim,bracket;
21  Mode mode;
22 };
23 
24 std::ostream& operator <<(std::ostream& out,const MatrixPrinter& mp);
25 
26 } //namespace Math
27 
28 #endif
Definition: MatrixPrinter.h:8
Contains all definitions in the Math package.
Definition: WorkspaceBound.h:12