From 4b6d56d6a548fb8274ddaf58ada908e069a7ba90 Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Fri, 9 Jan 2009 02:46:01 +0000 Subject: pst-func 0.58 2008/12/08 git-svn-id: svn://tug.org/texlive/trunk@11831 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/dvips/pst-func/pst-func.pro | 31 ++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/dvips/pst-func') diff --git a/Master/texmf-dist/dvips/pst-func/pst-func.pro b/Master/texmf-dist/dvips/pst-func/pst-func.pro index 8a4b0e98f8e..e1093708323 100644 --- a/Master/texmf-dist/dvips/pst-func/pst-func.pro +++ b/Master/texmf-dist/dvips/pst-func/pst-func.pro @@ -1,4 +1,4 @@ -%% $Id: pst-func.pro 55 2008-11-14 12:01:12Z herbert $ +%% $Id: pst-func.pro 72 2009-01-08 22:00:47Z herbert $ %% %% This is file `pst-func.pro', %% @@ -16,7 +16,7 @@ %% `pst-func' is a PSTricks package to plot special math functions %% %% -%% version 0.09 / 2008-03-22 Herbert Voss +%% version 0.10 / 2009-01-08 Herbert Voss % /tx@FuncDict 100 dict def tx@FuncDict begin @@ -282,7 +282,32 @@ tx@FuncDict begin sum z ln sub CEuler z mul sub end } def - +% +/ChebyshevT { 5 dict begin % z on stack + /xtmp exch def + /n exch def + 0 0 1 n .5 mul floor { + /k exch def + xtmp xtmp mul 1 sub k exp + xtmp n 2 k mul sub exp mul + n 2 k mul MoverN mul + add + } for + end +} def +% +/ChebyshevU {5 dict begin % z on stack + /xtmp exch def + /n exch def + 0 0 1 n .5 mul floor { + /k exch def + xtmp xtmp mul 1 sub k exp + xtmp n 2 k mul sub exp mul + n 1 add 2 k mul 1 add MoverN mul + add + } for + end +} def % % subroutines for complex numbers, given as an array [a b] % which is a+bi = Real+i Imag -- cgit v1.2.3