[pstricks] pst-math
Herbert Voss
Herbert.Voss at FU-Berlin.DE
Thu Aug 27 10:56:48 CEST 2009
Patrice Mégret schrieb:
> In the package pst-math, the SINC function is defined as:
>
> /SINC {dup SIN exch Div} with the Div operator from pstricks.pro. In that way, no division by 0 takes place at x=0, but SINC(0) = 0 instead of 1.
>
> I propose to replace the SINC definition by:
>
> /SINC { dup 0 eq { pop 1 } { dup SIN exch div } ifelse } bind def, which makes the same but gives SINC(0)=1.
done,
will be available in TL2009 overnight or at
http://archiv.dante.de/~herbert/PSTricks-TDS/
thanks
Herbert
More information about the PSTricks
mailing list