mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-04 19:25:56 +01:00
TensorRemove not needed now
This commit is contained in:
parent
19ff065844
commit
45c21a9c8b
@ -95,7 +95,7 @@ int main (int argc, char ** argv)
|
|||||||
for(int mu=0;mu<6;mu++){
|
for(int mu=0;mu<6;mu++){
|
||||||
result = Gamma(g[mu])* ident * Gamma(g[mu]);
|
result = Gamma(g[mu])* ident * Gamma(g[mu]);
|
||||||
result = result - ident;
|
result = result - ident;
|
||||||
double mag = TensorRemove(norm2(result));
|
RealD mag = norm2(result);
|
||||||
std::cout << list[mu]<<" " << mag<<std::endl;
|
std::cout << list[mu]<<" " << mag<<std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -103,7 +103,7 @@ int main (int argc, char ** argv)
|
|||||||
for(int mu=0;mu<6;mu++){
|
for(int mu=0;mu<6;mu++){
|
||||||
result = rnd * Gamma(g[mu]);
|
result = rnd * Gamma(g[mu]);
|
||||||
result = result + rnd * Gamma(g[mu+6]);
|
result = result + rnd * Gamma(g[mu+6]);
|
||||||
double mag = TensorRemove(norm2(result));
|
RealD mag = norm2(result);
|
||||||
std::cout << list[mu]<<" " << mag<<std::endl;
|
std::cout << list[mu]<<" " << mag<<std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -111,7 +111,7 @@ int main (int argc, char ** argv)
|
|||||||
for(int mu=0;mu<6;mu++){
|
for(int mu=0;mu<6;mu++){
|
||||||
result = Gamma(g[mu]) *rnd;
|
result = Gamma(g[mu]) *rnd;
|
||||||
result = result + Gamma(g[mu+6])*rnd;
|
result = result + Gamma(g[mu+6])*rnd;
|
||||||
double mag = TensorRemove(norm2(result));
|
RealD mag = norm2(result);
|
||||||
std::cout << list[mu]<<" " << mag<<std::endl;
|
std::cout << list[mu]<<" " << mag<<std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user