[pstricks] legendre polynomials

Herbert Voss Herbert.Voss at FU-Berlin.DE
Wed Jul 7 05:54:56 CEST 2010


Am 05.07.2010 05:12, schrieb mathias legrand:
> 
>>> as far as I am aware, Legendre polynomials are not part of the pstricks
>>> family.
>>> Could they be implemented soon? Or maybe, a simple recursive loop with
>>> the usual
>>> pstricks commands is fine?
>>>      
>> PSTricks knows the PostScript Function Sum. See example in
>> pst-news10.pd
> 
> Thanks, I see that the Derive and sum commands can be of great help.
> Anyway, is postscript aware
> of recursive statements? Most of the polynomials of interest are defined
> as, for instance:
> P_n(x)=xP_{n-1}(x)+P'_{n-1}(x)
> with some initial P_0(x) and P_1(x) polynomials.

no, you have to define your own function. However,
it is not too difficult

Herbert


More information about the PSTricks mailing list