]> www.ginac.de Git - ginac.git/blobdiff - ginac/clifford.h
- dirac_trace() takes an optional third argument: the expression to use for
[ginac.git] / ginac / clifford.h
index 69c9e23a6685a3b19f42fbfa17b9bed4113a4431..42be538f5f5bdbe9beb29dd95d67af6ab951b792 100644 (file)
@@ -144,8 +144,10 @@ ex dirac_slash(const ex & e, const ex & dim, unsigned char rl = 0);
  *  In particular, the functional is not always cyclic in D != 4 dimensions
  *  when gamma5 is involved.
  *
- *  @param rl Representation label */
-ex dirac_trace(const ex & e, unsigned char rl = 0);
+ *  @param e Expression to take the trace of
+ *  @param rl Representation label
+ *  @param trONE Expression to be returned as the trace of the unit matrix */
+ex dirac_trace(const ex & e, unsigned char rl = 0, const ex & trONE = 4);
 
 
 } // namespace GiNaC