mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-07 08:18:06 +01:00
Vectors now too and right multiple of matrix with gamma
This commit is contained in:
1 parent
f2ac20e7ab
commit
71d5927a66
3 files changed
+156
-21
No files matched your search
+6
-2
@@ -23,6 +23,9 @@ int main (int argc, char ** argv)
|
||||
SpinMatrix rr=zero;
|
||||
SpinMatrix result;
|
||||
|
||||
SpinVector lv=zero;
|
||||
SpinVector rv=zero;
|
||||
|
||||
for(int a=0;a<Ns;a++){
|
||||
ident()(a,a) = 1.0;
|
||||
}
|
||||
@@ -56,8 +59,9 @@ int main (int argc, char ** argv)
|
||||
"-Gamma5 ",
|
||||
" "
|
||||
};
|
||||
// result == ll*Gamma(g[0])*rr;
|
||||
// result == ll*Gamma(g[0]);
|
||||
result =ll*Gamma(g[0])*rr;
|
||||
result =ll*Gamma(g[0]);
|
||||
rv = Gamma(g[0])*lv;
|
||||
|
||||
for(int mu=0;mu<12;mu++){
|
||||
|
||||
|
||||
Reference in new issue
Block a user