|
GLAC
1.0
|
Class for holding \(\mathrm{SU}(2)\) matrices. More...
#include <su2.h>
Public Member Functions | |
| SU2 () | |
| ~SU2 () | |
| void | print () |
| void | zeros () |
| void | identity () |
| void | setComplex (complex w, int i) |
| SU2::setComplex. More... | |
| double | normSquared (int i) |
| SU2 | transpose () |
| SU2 | conjugate () |
| SU2 | inv () |
| SU2::inv. More... | |
| double | get (int i, int j, int k) |
| double & | operator[] (int i) |
| SU2 & | operator= (const SU2 &B) |
| SU2 & | operator+= (SU2 B) |
| SU2 & | operator-= (SU2 B) |
| SU2 & | operator *= (SU2 B) |
| SU2 & | operator *= (double B) |
Data Fields | |
| double | mat [8] |
Class for holding \(\mathrm{SU}(2)\) matrices.
Operations have been overloaded for ease of use.
|
inline |
|
inline |
| SU2 SU2::conjugate | ( | ) |
|
inline |
|
inline |
| double SU2::normSquared | ( | int | i | ) |
|
inline |
|
inline |
| void SU2::print | ( | ) |
| void SU2::setComplex | ( | complex | w, |
| int | i | ||
| ) |
| w | complex number |
| i | matrix position(contigious) to set w as. |
| SU2 SU2::transpose | ( | ) |
|
inline |
| double SU2::mat[8] |
1.8.15