KrisLibrary  1.0.0
VectorPrinter.h
1 #ifndef MATH_VECTOR_PRINTER_H
2 #define MATH_VECTOR_PRINTER_H
3 
4 #include "VectorTemplate.h"
5 
6 namespace Math {
7 
9 {
10  enum Mode { Normal, AsciiShade, PlusMinus };
11 
12  VectorPrinter(const fVector& v,Mode mode=Normal);
13  VectorPrinter(const dVector& v,Mode mode=Normal);
14  VectorPrinter(const cVector& v,Mode mode=Normal);
15  void Print(std::ostream& out) const;
16 
17  const fVector* fv;
18  const dVector* dv;
19  const cVector* cv;
20  char delim,bracket;
21  Mode mode;
22 };
23 
24 std::ostream& operator <<(std::ostream& out,const VectorPrinter& vp);
25 
26 } //namespace Math
27 
28 #endif
29 
Definition: VectorPrinter.h:8
Contains all definitions in the Math package.
Definition: WorkspaceBound.h:12