Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GammaMatrix Class Reference

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
 

Detailed Description

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]

$\gamma_{ab}$ = m_gmval_i[a], b=m_gmindex[a] or $\gamma_{ab}$ = m_gmvalue[a], b=m_gmindex[a] [8 May 2012 S. Aoki]

Definition at line 44 of file gammaMatrix.h.

Constructor & Destructor Documentation

GammaMatrix::GammaMatrix ( )
inline

Definition at line 60 of file gammaMatrix.h.

Member Function Documentation

int GammaMatrix::index ( int  row) const
inline

Definition at line 83 of file gammaMatrix.h.

int GammaMatrix::index_c ( int  row) const
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.

dcomplex GammaMatrix::value ( int  row) const
inline

Definition at line 88 of file gammaMatrix.h.

double GammaMatrix::value_i ( int  row) const
inline

Definition at line 103 of file gammaMatrix.h.

double GammaMatrix::value_r ( int  row) const
inline

Definition at line 98 of file gammaMatrix.h.

Member Data Documentation

const std::string GammaMatrix::class_name = "GammaMatrix"
static

Definition at line 46 of file gammaMatrix.h.

std::vector<int> GammaMatrix::m_gmindex
private

Definition at line 50 of file gammaMatrix.h.

std::vector<int> GammaMatrix::m_gmindex_c
private

Definition at line 53 of file gammaMatrix.h.

std::vector<icomplex> GammaMatrix::m_gmval_i
private

Definition at line 51 of file gammaMatrix.h.

std::vector<dcomplex> GammaMatrix::m_gmvalue
private

Definition at line 52 of file gammaMatrix.h.

std::vector<double> GammaMatrix::m_gmvalue_i
private

Definition at line 55 of file gammaMatrix.h.

std::vector<double> GammaMatrix::m_gmvalue_r
private

Definition at line 54 of file gammaMatrix.h.

int GammaMatrix::m_Nd
private

Definition at line 49 of file gammaMatrix.h.

Bridge::VerboseLevel GammaMatrix::m_vl
protected

Definition at line 58 of file gammaMatrix.h.


The documentation for this class was generated from the following files: