Artifact 59f34c61b8eb2b6347e206e55cde0423b63026d395eae6134cc0edd3351da3c5:
- Executable file
r37/packages/specfn/sfgamma.red
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 819) [annotate] [blame] [check-ins using] [more...]
- Executable file
r38/packages/specfn/sfgamma.red
— part of check-in
[f2fda60abd]
at
2011-09-02 18:13:33
on branch master
— Some historical releases purely for archival purposes
git-svn-id: https://svn.code.sf.net/p/reduce-algebra/code/trunk/historical@1375 2bfe0521-f11c-4a00-b80e-6202646ff360 (user: arthurcnorman@users.sourceforge.net, size: 819) [annotate] [blame] [check-ins using]
module sfgamma; % Gamma function procedures and rules for REDUCE. % Author: Chris Cannam, Sept/Oct '92. remprop('gamma,'simpfn); remprop('igamma,'simpfn); remprop('beta,'simpfn); remprop('polygamma,'simpfn); remprop('ibeta,'simpfn); remprop('zeta,'simpfn); remprop('pochhammer,'simpfn); remprop('psi,'simpfn); create!-package ('(sfgamma sfgamm sfpsi sfigamma),'(contrib specfn)); fluid '(bernoulli!-alist new!*bfs bf!*base sf!-alist !*savefs); bf!*base := (if new!*bfs then 2 else 10) ; symbolic smacro procedure sq2bf!*(x); (if fixp x then i2bf!: x else ((if car y neq '!:rd!: then retag cdr !*rn2rd y else retag cdr y) where y = !*a2f x)); symbolic smacro procedure c!:prec!:; (if new!*bfs then lispeval '!:bprec!: else !:prec!:); endmodule; end;