GLAC  1.0
taylorexp.h
Go to the documentation of this file.
1 
11 #ifndef TAYLOREXP_H
12 #define TAYLOREXP_H
13 
14 #include "su3exp.h"
15 
16 class TaylorExp : public SU3Exp
17 {
18 private:
19  // Taylor degree
20  unsigned int m_N;
21  double m_taylorFactor = 1;
22  SU3 m_QMul, m_QSum;
23 public:
24  TaylorExp(unsigned int N);
25  SU3 exp(SU3 Q);
26 
27  void setTaylorDegree(unsigned int N);
28 };
29 
30 #endif // TAYLOREXP_H
SU3 matrix exponentiation method that uses the method from https://journals.aps.org/prd/abstract/10....
Definition: su3exp.h:18
SU3 exp(SU3 Q)
Definition: taylorexp.cpp:14
TaylorExp(unsigned int N)
Definition: taylorexp.cpp:3
class for holding matrices.
Definition: su3.h:18
void setTaylorDegree(unsigned int N)
TaylorExp::setTaylorDegree.
Definition: taylorexp.cpp:38
uses a general Taylor polynomial to approximate the exponentiation of a SU(3) matrix.
Definition: taylorexp.h:16