32 const RootSystem& rs);
59 enum Value {
Complex, ImaginaryCompact, Real, ImaginaryNoncompact };
67 Value operator[] (
size_t j)
const 70 unsigned u = d_flags[j] ? 1 : 0;
73 return static_cast<Value>(u);
79 return not d_flags[j] and not d_flags[j+1];
85 return d_flags[j] and not d_flags[j+1];
91 return not d_flags[j] and d_flags[j+1];
97 return d_flags[j] and d_flags[j+1];
120 TwoRankFlags b(grading ? ImaginaryNoncompact : ImaginaryCompact);
128 :
public std::binary_function<const Grading& , const Grading& , bool>
bool isComplex(size_t j) const
Definition: gradings.h:76
void set_imaginary(size_t j, bool grading)
Definition: gradings.h:118
~Status()
Definition: gradings.h:64
void transform_grading(Grading &, const RootNbrList &, const RootNbrSet &, const RootSystem &)
bool isImaginary(size_t j) const
Definition: gradings.h:100
bool isReal(size_t j) const
Definition: gradings.h:88
BitSet< 2 *constants::RANK_MAX > TwoRankFlags
Definition: Atlas.h:61
Definition: gradings.h:53
bool isImaginaryCompact(size_t j) const
Definition: gradings.h:82
Definition: gradings.h:127
bitmap::BitMap RootNbrSet
Definition: Atlas.h:218
Value
Definition: gradings.h:59
RootNbrSet max_orth(const RootNbrSet &non_compact, const RootNbrSet &subsys, const RootSystem &rs)
Definition: gradings.cpp:51
bool operator!=(const Status &other) const
Definition: gradings.h:106
Class definitions and function declarations for the BitSet class.
bool isImaginaryNoncompact(size_t j) const
Definition: gradings.h:94
TwoRankFlags d_flags
Definition: gradings.h:55
RankFlags Grading
Definition: Atlas.h:289
std::vector< RootNbr > RootNbrList
Definition: Atlas.h:217
bool operator==(const Status &other) const
Definition: gradings.h:105
Status()
Definition: gradings.h:62
Grading grading
Definition: output.cpp:73
Vertex v
Definition: graph.cpp:116