Problem with Contract command #125
Unanswered
jdcastanoy
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I think that this problem is related to #95. Currently you can have only 3+1 or D dimensions, You can try to calculate your tensor in D dimensions and set D->2 at the end. This should work for |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working with the following tensor:
B[q_, a_, b_] := Pair[LorentzIndex[a], LorentzIndex[b]] - ( Pair[Momentum[q], LorentzIndex[a]] Pair[Momentum[q], LorentzIndex[b]])/ Contract[Pair[Momentum[q], LorentzIndex[a]] Pair[Momentum[q], LorentzIndex[a]]]
with the following restriction:
Contract[Pair[LorentzIndex[a], LorentzIndex[b]] Pair[LorentzIndex[a], LorentzIndex[b]]] = 2;
Now, the contraction of the tensor with itself is 1 (it can be easely checked), but when I try to compute it with Feyncalc (I will need more complicated contractions in the future) the result is 3:
In[]:
Contract[B[q, a, b] B[q, a, b]]
Out[] : 3
Nevertheless, if I do the contractions term by term, all seems work. The problem is when I put the whole tensor inside
Contract
.Can you help me with this?
I have FeynCalcl 9.3.1 (stable version) which I use in Mathematica 11.2 Student Edition for windows
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions