22 #ifndef ALGEBRA_STATE_H_INCLUDED 23 #define ALGEBRA_STATE_H_INCLUDED 51 :
std::vector<int>(vec){}
71 const std::vector<int>& normRoots,
72 int normLambda)
const;
82 return static_cast<std::vector<int>
>(*this) < other;
int eigenValue(const std::vector< int > &root, const std::vector< int > &normRoots, int normLambda) const
Calculates the eigenvalue of the state with respect to the root root, considering l simple roots (the...
Definition: algebraState.cpp:42
Namespace of MARTY.
Definition: 2HDM.h:31
Class inherited from std::vector<int>, dynkin labels for a state of a semi-simple algebra (see docume...
Definition: algebraState.h:35
std::vector< int > getLabels() const
Converts the state into a simple std::vector of int corresponding to the l dinkin labels of the state...
Definition: algebraState.cpp:23
AlgebraState(const std::vector< int > &vec)
Constructor with one parameter.
Definition: algebraState.h:50
AlgebraState()
Default constructor. Initializes an empty vector of labels.
Definition: algebraState.h:42
AlgebraState applyAnnihilator(const std::vector< int > &shifts) const
Applies shifts on labels coming from annihilation operators. Creates a new state with labels "labels ...
Definition: algebraState.cpp:28
friend std::ostream & operator<<(std::ostream &fout, const AlgebraState &state)
Overload of the operator<< for AlgebraState, displays the labels in the output fout.