ScalarProduct[p, q] is the input for scalar product. ScalarProduct[p] is equivalent to ScalarProduct[p, p]. Expansion of sums of momenta in ScalarProduct is done with ExpandScalarProduct. Scalar product may be set, e.g., ScalarProduct[a, b] = ; but a and b must not contain sums. Note that ScalarProduct[a, b] =
actually sets also: Pair[Momentum[a, ___], Momentum[b, ___]] =
. It is encouraged to always set ScalarProduct's before any calculation. This improves the performance of FeynCalc .
See also: Calc, ClearScalarProducts, ExpandScalarProduct, Pair, SP, SPD.
![[Graphics:Images/index_gr_4.gif]](Images/index_gr_4.gif)
![[Graphics:Images/index_gr_6.gif]](Images/index_gr_6.gif)
![[Graphics:Images/index_gr_8.gif]](Images/index_gr_8.gif)
![[Graphics:Images/index_gr_10.gif]](Images/index_gr_10.gif)
![[Graphics:Images/index_gr_12.gif]](Images/index_gr_12.gif)
![[Graphics:Images/index_gr_14.gif]](Images/index_gr_14.gif)
![[Graphics:Images/index_gr_16.gif]](Images/index_gr_16.gif)
![[Graphics:Images/index_gr_18.gif]](Images/index_gr_18.gif)
![[Graphics:Images/index_gr_20.gif]](Images/index_gr_20.gif)
![[Graphics:Images/index_gr_22.gif]](Images/index_gr_22.gif)
The FeynCalc Book | ![]() | ![]() |