summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/dvips
diff options
context:
space:
mode:
authorManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-01-09 02:46:01 +0000
committerManuel Pégourié-Gonnard <mpg@elzevir.fr>2009-01-09 02:46:01 +0000
commit4b6d56d6a548fb8274ddaf58ada908e069a7ba90 (patch)
treeca245da243f9a346d45d658c6673ac04fe3bd865 /Master/texmf-dist/dvips
parent79f180b0bb53942fafac31f52a8daf9ceaa77c68 (diff)
pst-func 0.58 2008/12/08
git-svn-id: svn://tug.org/texlive/trunk@11831 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/dvips')
-rw-r--r--Master/texmf-dist/dvips/pst-func/pst-func.pro31
1 files changed, 28 insertions, 3 deletions
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 <voss _at_ pstricks.de>
+%% version 0.10 / 2009-01-08 Herbert Voss <voss _at_ pstricks.de>
%
/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