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

#include <mat_SU_N.h>

Public Member Functions

 Mat_SU_N (int Nc, double r=0.0)
 
Mat_SU_Ndag ()
 
Mat_SU_Nht ()
 
Mat_SU_Nah ()
 antihermitian More...
 
Mat_SU_Nat ()
 antihermitian traceless More...
 
Mat_SU_Nunit ()
 
Mat_SU_Nzero ()
 
Mat_SU_NxI ()
 
Mat_SU_Nreunit ()
 
Mat_SU_Nreunit_SU3 ()
 
Mat_SU_Nreunit_SU2 ()
 
Mat_SU_Nreunit_general ()
 
Mat_SU_Nset_random (RandomNumbers *rand)
 
Mat_SU_Nset_random_SU3 (RandomNumbers *)
 
Mat_SU_Nset_random_SU2 (RandomNumbers *)
 
Mat_SU_Nset_random_general (RandomNumbers *)
 
int nc () const
 
Mat_SU_Noperator- ()
 
Mat_SU_Noperator= (const double &)
 
Mat_SU_Noperator+= (const Mat_SU_N &)
 
Mat_SU_Noperator+= (const double &)
 
Mat_SU_Noperator-= (const Mat_SU_N &)
 
Mat_SU_Noperator-= (const double &)
 
Mat_SU_Noperator*= (const Mat_SU_N &)
 
Mat_SU_Noperator*= (const double &)
 
Mat_SU_Noperator/= (const double &)
 
int size () const
 
double r (int c) const
 
double i (int c) const
 
double r (int c1, int c2) const
 
double i (int c1, int c2) const
 
void set_r (int c, const double &re)
 
void set_i (int c, const double &im)
 
void set_r (int c1, int c2, const double &re)
 
void set_i (int c1, int c2, const double &im)
 
void set (int c, double re, const double &im)
 
void set (int c1, int c2, const double &re, const double &im)
 
void add (int c, const double &re, const double &im)
 
void add (int c1, int c2, const double &re, const double &im)
 
double norm2 ()
 
void mult_nn (const Mat_SU_N &u1, const Mat_SU_N &u2)
 
void multadd_nn (const Mat_SU_N &u1, const Mat_SU_N &u2)
 
void mult_nd (const Mat_SU_N &u1, const Mat_SU_N &u2)
 
void multadd_nd (const Mat_SU_N &u1, const Mat_SU_N &u2)
 
void mult_dn (const Mat_SU_N &u1, const Mat_SU_N &u2)
 
void multadd_dn (const Mat_SU_N &u1, const Mat_SU_N &u2)
 
void zcopy (double re, double im, const Mat_SU_N &v)
 
void zaxpy (double re, double im, const Mat_SU_N &v)
 

Private Attributes

int m_Nc
 
std::valarray< double > va
 
Mat_SU_N &(Mat_SU_N::* m_reunit )()
 
Mat_SU_N &(SU_N::Mat_SU_N::* m_set_random )(RandomNumbers *)
 pointer to reunitalization. More...
 

Detailed Description

SU(N) matrix operations. Reunitarization is generalized to general value of Nc. Setting random matrix is not for SU(2) which is to be implemented. [07 May 2014 H.Matsufuru]

Definition at line 35 of file mat_SU_N.h.

Constructor & Destructor Documentation

SU_N::Mat_SU_N::Mat_SU_N ( int  Nc,
double  r = 0.0 
)
inlineexplicit

Definition at line 46 of file mat_SU_N.h.

Member Function Documentation

void SU_N::Mat_SU_N::add ( int  c,
const double &  re,
const double &  im 
)
inline

Definition at line 144 of file mat_SU_N.h.

void SU_N::Mat_SU_N::add ( int  c1,
int  c2,
const double &  re,
const double &  im 
)
inline

Definition at line 150 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::ah ( )
inline

antihermitian

Definition at line 357 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::at ( )
inline

antihermitian traceless

Definition at line 329 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::dag ( )
inline

Definition at line 283 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::ht ( )
inline

Definition at line 301 of file mat_SU_N.h.

double SU_N::Mat_SU_N::i ( int  c) const
inline

Definition at line 115 of file mat_SU_N.h.

double SU_N::Mat_SU_N::i ( int  c1,
int  c2 
) const
inline

Definition at line 118 of file mat_SU_N.h.

void SU_N::Mat_SU_N::mult_dn ( const Mat_SU_N u1,
const Mat_SU_N u2 
)
inline

Definition at line 231 of file mat_SU_N.h.

void SU_N::Mat_SU_N::mult_nd ( const Mat_SU_N u1,
const Mat_SU_N u2 
)
inline

Definition at line 197 of file mat_SU_N.h.

void SU_N::Mat_SU_N::mult_nn ( const Mat_SU_N u1,
const Mat_SU_N u2 
)
inline

Definition at line 163 of file mat_SU_N.h.

void SU_N::Mat_SU_N::multadd_dn ( const Mat_SU_N u1,
const Mat_SU_N u2 
)
inline

Definition at line 249 of file mat_SU_N.h.

void SU_N::Mat_SU_N::multadd_nd ( const Mat_SU_N u1,
const Mat_SU_N u2 
)
inline

Definition at line 215 of file mat_SU_N.h.

void SU_N::Mat_SU_N::multadd_nn ( const Mat_SU_N u1,
const Mat_SU_N u2 
)
inline

Definition at line 181 of file mat_SU_N.h.

int SU_N::Mat_SU_N::nc ( ) const
inline

Definition at line 86 of file mat_SU_N.h.

double SU_N::Mat_SU_N::norm2 ( )
inline

Definition at line 155 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::operator*= ( const Mat_SU_N rhs)
inline

Definition at line 443 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::operator*= ( const double &  rhs)
inline

Definition at line 464 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::operator+= ( const Mat_SU_N rhs)
inline

Definition at line 408 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::operator+= ( const double &  rhs)
inline

Definition at line 429 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::operator- ( )
inline

Definition at line 401 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::operator-= ( const Mat_SU_N rhs)
inline

Definition at line 415 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::operator-= ( const double &  rhs)
inline

Definition at line 436 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::operator/= ( const double &  rhs)
inline

Definition at line 481 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::operator= ( const double &  rhs)
inline

Definition at line 422 of file mat_SU_N.h.

double SU_N::Mat_SU_N::r ( int  c) const
inline

Definition at line 114 of file mat_SU_N.h.

double SU_N::Mat_SU_N::r ( int  c1,
int  c2 
) const
inline

Definition at line 117 of file mat_SU_N.h.

Mat_SU_N& SU_N::Mat_SU_N::reunit ( )
inline

Definition at line 71 of file mat_SU_N.h.

Mat_SU_N & Mat_SU_N::reunit_general ( )

Definition at line 117 of file mat_SU_N.cpp.

Mat_SU_N & Mat_SU_N::reunit_SU2 ( )

Definition at line 91 of file mat_SU_N.cpp.

Mat_SU_N & Mat_SU_N::reunit_SU3 ( )

Definition at line 18 of file mat_SU_N.cpp.

void SU_N::Mat_SU_N::set ( int  c,
double  re,
const double &  im 
)
inline

Definition at line 133 of file mat_SU_N.h.

void SU_N::Mat_SU_N::set ( int  c1,
int  c2,
const double &  re,
const double &  im 
)
inline

Definition at line 139 of file mat_SU_N.h.

void SU_N::Mat_SU_N::set_i ( int  c,
const double &  im 
)
inline

Definition at line 121 of file mat_SU_N.h.

void SU_N::Mat_SU_N::set_i ( int  c1,
int  c2,
const double &  im 
)
inline

Definition at line 128 of file mat_SU_N.h.

void SU_N::Mat_SU_N::set_r ( int  c,
const double &  re 
)
inline

Definition at line 120 of file mat_SU_N.h.

void SU_N::Mat_SU_N::set_r ( int  c1,
int  c2,
const double &  re 
)
inline

Definition at line 123 of file mat_SU_N.h.

Mat_SU_N& SU_N::Mat_SU_N::set_random ( RandomNumbers rand)
inline

Definition at line 76 of file mat_SU_N.h.

Mat_SU_N & Mat_SU_N::set_random_general ( RandomNumbers rand)

Definition at line 196 of file mat_SU_N.cpp.

Mat_SU_N & Mat_SU_N::set_random_SU2 ( RandomNumbers rand)

Definition at line 186 of file mat_SU_N.cpp.

Mat_SU_N & Mat_SU_N::set_random_SU3 ( RandomNumbers rand)

Definition at line 148 of file mat_SU_N.cpp.

int SU_N::Mat_SU_N::size ( ) const
inline

Definition at line 113 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::unit ( )
inline

Definition at line 373 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::xI ( )
inline

Definition at line 390 of file mat_SU_N.h.

void SU_N::Mat_SU_N::zaxpy ( double  re,
double  im,
const Mat_SU_N v 
)
inline

Definition at line 273 of file mat_SU_N.h.

void SU_N::Mat_SU_N::zcopy ( double  re,
double  im,
const Mat_SU_N v 
)
inline

Definition at line 265 of file mat_SU_N.h.

Mat_SU_N & SU_N::Mat_SU_N::zero ( )
inline

Definition at line 383 of file mat_SU_N.h.

Member Data Documentation

int SU_N::Mat_SU_N::m_Nc
private

Definition at line 37 of file mat_SU_N.h.

Mat_SU_N&(Mat_SU_N::* SU_N::Mat_SU_N::m_reunit)()
private

Definition at line 39 of file mat_SU_N.h.

Mat_SU_N&(SU_N::Mat_SU_N::* SU_N::Mat_SU_N::m_set_random)(RandomNumbers *)
private

pointer to reunitalization.

pointer to random matrix setting.

Definition at line 40 of file mat_SU_N.h.

std::valarray<double> SU_N::Mat_SU_N::va
private

Definition at line 38 of file mat_SU_N.h.


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