Skip to content

Using ReplaceAll in FeynCalc #246

Discussion options

You must be logged in to vote

Hey,

The above command didn't work
But this one worked,

ReplaceAll[#, Pair[Momentum[Polarization[___], ___], Momentum[Polarization[___], ___], ___] -> 0]

I want to know, how do I decide where to put the underscores?
Thanks

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@sunnyasquabla
Comment options

Answer selected by sunnyasquabla
@vsht
Comment options

@sunnyasquabla
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants