template<std::size_t N, typename Scalar>
class Sym::SUN< N, Scalar >
Class for handling a SU(N) symmetry of a Hamiltonian with explicitly storage the Clebsch-Gordon coefficients.
- Template Parameters
 - 
  
    | Scalar | : double or complex<double>  | 
    | N | : the N in SU(N)  | 
  
   
- Warning
 - Use the the external CGC-Library: https://homepages.physik.uni-muenchen.de/~vondelft/Papers/ClebschGordan/ 
 
- Longterm Todo:
 - To use general SU(N) symmetries, several adjustions are necessary in the code, concerning the innermultiplicity. 
 
Definition at line 29 of file SUN.h.
 
 | 
| static qType  | qvacuum () | 
|   | 
| static std::string  | name () | 
|   | 
| static qType  | flip (const qType &q) | 
|   | 
| static int  | degeneracy (const qType &q) | 
|   | 
| static TensorType< 3 >  | reduce (qType ql, qType qr, qType Q) | 
|   | 
| static std::vector< qType >  | reduceSilent (qType ql, qType qr) | 
|   | 
| static std::vector< qType >  | reduceSilent (std::vector< qType > ql, qType qr) | 
|   | 
| static Eigen::Tensor< Scalar, 2 >  | calcCupTensor (qType q) | 
|   | 
| static Eigen::Tensor< Scalar, 2 >  | calcCapTensor (qType q) | 
|   | 
| static Scalar  | coeff_adjoint (const qType &q1, const qType &q2, const qType &q3) | 
|   | 
| static Scalar  | coeff_Apair (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6) | 
|   | 
| static Scalar  | coeff_buildR (const qType &q1, const qType &q2, const qType &q3, const qType &q4, const qType &q5, const qType &q6, const qType &q7, const qType &q8, const qType &q9) | 
|   | 
| template<std::size_t M>  | 
| static bool  | compare (std::array< qType, M > q1, std::array< qType, M > q2) | 
|   | 
| template<std::size_t M>  | 
| static bool  | validate (std::array< qType, M > qs) | 
|   |