atlas  0.6
prettyprint.h
Go to the documentation of this file.
1 /*
2  This is prettyprint.h
3 
4  Copyright (C) 2004,2005 Fokko du Cloux
5  part of the Atlas of Lie Groups and Representations
6 
7  For license information see the LICENSE file
8 */
9 
10 #ifndef PRETTYPRINT_H /* guard against multiple inclusions */
11 #define PRETTYPRINT_H
12 
13 #include <iosfwd>
14 #include <vector>
15 
16 #include "../Atlas.h"
17 
18 /******** function declarations *********************************************/
19 
20 namespace atlas {
21 
22 namespace prettyprint {
23 
24 template<size_t d>
25 std::ostream& prettyPrint(std::ostream&, const BitSet<d>&, size_t);
26 
27 std::ostream& prettyPrint(std::ostream&, const BitMap&, size_t n = 0);
28 
29 template<size_t dim>
30 std::ostream& prettyPrint(std::ostream&, const BitVector<dim>&);
31 
32 template<size_t dim>
33 std::ostream& prettyPrint(std::ostream&, const std::vector<BitVector<dim> >&);
34 
35 template<typename V>
36 std::ostream& printBasis(std::ostream&, const std::vector<V>&);
37 
38 std::ostream& printDescentSet(std::ostream&, const RankFlags&, size_t,
39  const char* sep = ",", const char* pre = "{",
40  const char* post = "}");
41 
42 std::ostream& printInRootBasis(std::ostream&, RootNbr, const RootSystem&);
43 
44 std::ostream& printInRootBasis(std::ostream&,
45  const RootNbrSet&, const RootSystem&);
46 
47 std::ostream& printInvolution(std::ostream&,
48  const TwistedInvolution&,
49  const TwistedWeylGroup&);
50 
51 template<typename C>
52 std::ostream& printVector(std::ostream&, const std::vector<C>&,
53  unsigned long width = 2);
54 template<typename C>
55 std::ostream& printMatrix(std::ostream&, const matrix::Matrix_base<C>&,
56  unsigned long width = 4);
57 
58 std::ostream& printRootList(std::ostream&,
59  const RootNbrList&,const RootDatum&,
60  const char* sep = "\n");
61 
62 std::ostream& printCorootList(std::ostream&,
63  const RootNbrList&, const RootDatum&,
64  const char* sep = "\n");
65 
66 std::ostream& printStatus(std::ostream&, const gradings::Status&, size_t);
67 
68 std::ostream& printTitsElt(std::ostream&, const TitsElt&, const TitsGroup&);
69 
70 std::ostream& printTorusType(std::ostream&, const tori::RealTorus&);
71 
72 std::ostream& printWeylElt(std::ostream&, const WeylElt&, const WeylGroup&);
73 
74 std::ostream& printWeylList(std::ostream&, const WeylEltList&,
75  const WeylGroup&, const char* sep = ",",
76  const char* pre = "", const char* post = "");
77 }
78 
79 }
80 
81 #endif
WeylElt TwistedInvolution
Definition: Atlas.h:231
std::ostream & printBasis(std::ostream &strm, const std::vector< V > &b)
Definition: prettyprint.cpp:105
std::ostream & printStatus(std::ostream &strm, const gradings::Status &gs, size_t rank)
Definition: prettyprint.cpp:288
std::ostream & printWeylList(std::ostream &strm, const WeylEltList &wl, const WeylGroup &W, const char *sep, const char *pre, const char *post)
Definition: prettyprint.cpp:362
std::ostream & printTitsElt(std::ostream &strm, const TitsElt &a, const TitsGroup &Tg)
Definition: prettyprint.cpp:318
std::vector< WeylElt > WeylEltList
Definition: Atlas.h:234
std::ostream & printDescentSet(std::ostream &strm, const RankFlags &d, size_t rank, const char *sep, const char *pre, const char *post)
Definition: prettyprint.cpp:130
std::ostream & printInRootBasis(std::ostream &strm, RootNbr n, const RootSystem &rs)
Definition: prettyprint.cpp:157
std::ostream & printTorusType(std::ostream &strm, const tori::RealTorus &T)
Definition: prettyprint.cpp:333
std::ostream & printWeylElt(std::ostream &strm, const WeylElt &w, const WeylGroup &W)
Definition: prettyprint.cpp:351
std::ostream & printCorootList(std::ostream &strm, const RootNbrList &r, const RootDatum &rd, const char *sep)
Definition: prettyprint.cpp:202
std::ostream & printRootList(std::ostream &strm, const RootNbrList &r, const RootDatum &rd, const char *sep)
Definition: prettyprint.cpp:185
std::ostream & printMatrix(std::ostream &strm, const matrix::Matrix_base< C > &m, unsigned long width)
Definition: prettyprint.cpp:251
bitmap::BitMap RootNbrSet
Definition: Atlas.h:218
unsigned long n
Definition: axis.cpp:77
Definition: Atlas.h:38
unsigned short RootNbr
Definition: Atlas.h:216
std::ostream & printInvolution(std::ostream &strm, const TwistedInvolution &tw, const TwistedWeylGroup &W)
Definition: prettyprint.cpp:223
std::bitset< 32 > RankFlags
Definition: KLread.cpp:39
std::vector< RootNbr > RootNbrList
Definition: Atlas.h:217
std::ostream & prettyPrint(std::ostream &strm, const BitMap &b, size_t n)
Definition: prettyprint.cpp:41
std::ostream & printVector(std::ostream &strm, const std::vector< C > &v, unsigned long width)
Definition: prettyprint.cpp:236