Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How do I use tensors in Mathematica 7?

  1. Jan 31, 2009 #1


    User Avatar

    Hi there!

    I'm tring to check some calculations of the propagator of a gauge field using the [itex]R_\xi[/itex] gauge fixing.

    Since the propagator has a matricial structure,

    [itex]\Delta_{\mu\nu}=\frac{1}{(p^0)^2+E_p^2}\left[\delta_{\mu\nu}-\frac{1-\xi}{(p^0)^2+E_p^2}p_\mu p_\nu\right], [/itex]​

    I'd like to check it using that fact. Using the command line

    Array[(KroneckerDelta[#1,#2]-(1- xi) p[#1] p[#2]/(p[0]^2+ep^2))/(p[0]^2+ep^2) & , {4,4}, {0,0}]

    I was able to write the needed expression, but then I'd like to compute the residues of ANY component... without losing the matricial structure. Is this possible?

    All my guesses are fraud.For example.... if I try to give a name to the array


    it does not recognize the matrix structure.

    Whatever help is useful. Thanks.
    Last edited: Jan 31, 2009
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted