9 Mar
2006
9 Mar
'06
5:19 p.m.
Dear all, I added the step function to GiNaCs repertoire of built-in functions. It is the real function step(x)=1 for x>0 and step(x)=0 for x<0. Considering the fact that numerical evaluation may yield a small imaginary part due to rounding errors, a possible imaginary part of a numerical argument is ignored. Furthermore step(0)=1/2. This, however, should not be taken too seriously as there is also the automatic evaluation step(x)^2 -> step(x). In the sense of distributions it does not matter what the value of step(0) is. Best, Chris