Bridge++
Version 1.5.4
|
Gamma Matrix class. More...
#include <gammaMatrix.h>
Public Member Functions | |
GammaMatrix () | |
void | set (int row, int index, icomplex val_i) |
void | set_values (int row) |
void | print () |
GammaMatrix | mult (GammaMatrix) const |
GammaMatrix | mult_i (GammaMatrix) const |
GammaMatrix | mult (int) const |
int | index (int row) const |
dcomplex | value (int row) const |
int | index_c (int row) const |
double | value_r (int row) const |
double | value_i (int row) const |
Static Public Attributes | |
static const std::string | class_name = "GammaMatrix" |
Protected Attributes | |
Bridge::VerboseLevel | m_vl |
Private Attributes | |
int | m_Nd |
std::vector< int > | m_gmindex |
std::vector< icomplex > | m_gmval_i |
std::vector< dcomplex > | m_gmvalue |
std::vector< int > | m_gmindex_c |
std::vector< double > | m_gmvalue_r |
std::vector< double > | m_gmvalue_i |
Gamma Matrix class.
Gamma matrix is defined. This class just defines the action of gamma matrices. Specific form is not given in this class but outside. [4 Feb 2012 H.Matsufuru] bug fixed: definition of index of a product of two gamma matrices in mult() and mult_i() was wrong, while there had been no problem so far thanks to the property of the gamma matrices. [9 May 2012 H.Matsufuru]
= m_gmval_i[a], b=m_gmindex[a] or = m_gmvalue[a], b=m_gmindex[a] [8 May 2012 S. Aoki]
Definition at line 44 of file gammaMatrix.h.
|
inline |
Definition at line 60 of file gammaMatrix.h.
|
inline |
Definition at line 83 of file gammaMatrix.h.
|
inline |
Definition at line 93 of file gammaMatrix.h.
GammaMatrix GammaMatrix::mult | ( | GammaMatrix | gm1 | ) | const |
Definition at line 39 of file gammaMatrix.cpp.
GammaMatrix GammaMatrix::mult | ( | int | n | ) | const |
Definition at line 123 of file gammaMatrix.cpp.
GammaMatrix GammaMatrix::mult_i | ( | GammaMatrix | gm1 | ) | const |
Definition at line 59 of file gammaMatrix.cpp.
void GammaMatrix::print | ( | ) |
Definition at line 77 of file gammaMatrix.cpp.
void GammaMatrix::set | ( | int | row, |
int | index, | ||
icomplex | val_i | ||
) |
Definition at line 26 of file gammaMatrix.cpp.
void GammaMatrix::set_values | ( | int | row | ) |
Definition at line 101 of file gammaMatrix.cpp.
|
inline |
Definition at line 88 of file gammaMatrix.h.
|
inline |
Definition at line 103 of file gammaMatrix.h.
|
inline |
Definition at line 98 of file gammaMatrix.h.
|
static |
Definition at line 46 of file gammaMatrix.h.
|
private |
Definition at line 50 of file gammaMatrix.h.
|
private |
Definition at line 53 of file gammaMatrix.h.
|
private |
Definition at line 51 of file gammaMatrix.h.
|
private |
Definition at line 52 of file gammaMatrix.h.
|
private |
Definition at line 55 of file gammaMatrix.h.
|
private |
Definition at line 54 of file gammaMatrix.h.
|
private |
Definition at line 49 of file gammaMatrix.h.
|
protected |
Definition at line 58 of file gammaMatrix.h.