[GiNaC-devel] RFC: step function and Pauli matrices

Matthias Dellweg dellweg at tp1.uni-duesseldorf.de
Fri Dec 20 15:21:34 CET 2013


Dear all,
please consider the attached patches:

GiNaC is able to check whether expressions are sums of possymbols. We
can use that to evaluate some step functions immediately:
	0001-Evaluate-step-whenever-possible.patch
This should be a generic transformation from an integral with a step
function to step functions times integrals without:
	0002-Integrate-when-integrand-is-a-product-with-a-step-fu.patch
This patch implements Pauli matrices in the same manner as in color.cpp
(shamelessly borrowed...):
	0003-Implementation-of-Pauli-matrices.patch
As opposed to the color algebra, a product of pauli objects can always
be reduced to a linear combination of single pauli objects:
	0004-New-function-pauli_normalize.patch

Best wishes,
  Matthias Dellweg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Evaluate-step-whenever-possible.patch
Type: text/x-patch
Size: 1707 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-devel/attachments/20131220/9c639c7d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Integrate-when-integrand-is-a-product-with-a-step-fu.patch
Type: text/x-patch
Size: 1602 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-devel/attachments/20131220/9c639c7d/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Implementation-of-Pauli-matrices.patch
Type: text/x-patch
Size: 17573 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-devel/attachments/20131220/9c639c7d/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-New-function-pauli_normalize.patch
Type: text/x-patch
Size: 1513 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-devel/attachments/20131220/9c639c7d/attachment-0003.patch>


More information about the GiNaC-devel mailing list