|
Xped
|
#include <qarray.hpp>
Public Member Functions | |
| constexpr | qarray () |
| constexpr | qarray (const std::array< int, Nq > &in) |
| qarray (const std::vector< int > &in) | |
| qarray (std::initializer_list< int > a) | |
| int & | operator[] (size_t i) |
| int & | operator() (size_t i) |
| const int & | operator[] (size_t i) const |
| const int & | operator() (size_t i) const |
| int | distance (const qarray< Nq > &other) |
| template<typename Ar > | |
| void | serialize (Ar &ar) |
Public Attributes | |
| std::array< int, Nq > | data |
Friends | |
| std::size_t | hash_value (const qarray< Nq > &qin) |
Array of quantum numbers corresponding to Abelian or non Abelian symmetries. Just a thin wrapper over std::array<int,Nq> with some bracket operators, boolean functions, coefficient-wise arithmetics and output to with a streaming operator. \describe_Nq
qarray2<Nq> = std::array<qarray<Nq>,2> : pair of quantum numbers in a two-legged tensor Bipedqarray3<Nq> = std::array<qarray<Nq>,3> : triplet of quantum numbers in a three-legged tensor Tripod (see Multipede)qarray4<Nq> = std::array<qarray<Nq>,4> : quadruplet of quantum numbers in a four-legged tensor Quadruped (see Multipede)
|
inlineconstexpr |
Constructs with zeros.
|
inlineconstexpr |
Constructs with an input array.
|
inline |
|
inline |
Constructs with an initializer_list.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
| std::array<int, Nq> Xped::qarray< Nq >::data |