CHROMA
lib
util
gauge
expmat.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
/*! \file
3
* \brief Exponentiate a SU(n) lie algebra element by some method,
4
*/
5
6
#ifndef __expmat_h__
7
#define __expmat_h__
8
9
namespace
Chroma
{
10
11
enum
ExpMat_t
{
EXP_EXACT
,
EXP_TWELFTH_ORDER
};
12
13
//! Exponentiate a SU(n) lie algebra element by some method.
14
/*!
15
* \ingroup gauge
16
*
17
* This routine is a driver for other routines. For example, expsu3
18
* will exponentiate EFFICIENTLY an SU(3) matrix and, if desired,
19
* check for errors in the truncation of the Taylor series.
20
* The routine eesu3 EXACTLY exponentiates a SU(3) matrix.
21
*
22
* \param a LatticeColorMatrix (Modify)
23
* \param opt Method of exponentiation (Read)
24
*/
25
26
void
expmat
(LatticeColorMatrix&
a
,
27
ExpMat_t
opt);
28
29
namespace
ExpMatEnv {
30
extern
double
getTime
();
31
}
32
}
33
34
#endif
Chroma::expmat
void expmat(LatticeColorMatrix &a, enum ExpMat_t opt)
Exponentiate a SU(n) lie algebra element by some method.
Definition:
expmat.cc:39
Chroma::ExpMatEnv::getTime
double getTime()
Definition:
expmat.cc:21
Chroma
Asqtad Staggered-Dirac operator.
Definition:
klein_gord.cc:10
Chroma::a
Complex a
Definition:
invbicg.cc:95
Chroma::ExpMat_t
ExpMat_t
Definition:
expmat.h:11
Chroma::EXP_EXACT
@ EXP_EXACT
Definition:
expmat.h:11
Chroma::EXP_TWELFTH_ORDER
@ EXP_TWELFTH_ORDER
Definition:
expmat.h:11
Generated by
1.9.1