Artifact 1a7cf094ed9bcd6e298d1cca8f47127c047e58b18cbe1f1256072080f395b61d:
- Executable file
r37/packages/taylor/tayfront.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: 1879) [annotate] [blame] [check-ins using] [more...]
- Executable file
r38/packages/taylor/tayfront.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: 1879) [annotate] [blame] [check-ins using]
module TayFront; %***************************************************************** % % User interface % %***************************************************************** exports taylorcombine, taylororiginal, taylorprintorder, taylorseriesp, taylortemplate, taylortostandard; imports % from the REDUCE kernel: eqcar, mk!*sq, mvar, numr, prepsq, simp!*, typerr, % from the header module: Taylor!-kernel!-sq!-p, TayOrig, TayTemplate, TayTpElOrder, TayTpElPoint, TayTpElVars, % from module Tayintro: Taylor!-error, % from module Taysimp: taysimpsq; symbolic procedure taylorseriesp u; (Taylor!-kernel!-sq!-p sq) where sq := simp!* u; symbolic procedure taylorcombine u; mk!*sq taysimpsq simp!* u; symbolic procedure taylortostandard u; (prepsq if not eqcar (u, '!*sq) then simp!* u else cadr u) where convert!-Taylor!* := t; symbolic procedure taylororiginal u; (if not Taylor!-kernel!-sq!-p sq then typerr (u, "Taylor kernel") else (if TayOrig tay then mk!*sq TayOrig tay else Taylor!-error ('no!-original, 'taylororiginal)) where tay := mvar numr sq) where sq := simp!* u; symbolic procedure taylortemplate u; (if not Taylor!-kernel!-sq!-p sq then typerr (u, "Taylor kernel") else 'list . for each quartet in TayTemplate mvar numr sq collect {'list, if null cdr TayTpElVars quartet then car TayTpElVars quartet else 'list . TayTpElVars quartet, TayTpElPoint quartet, TayTpElOrder quartet}) where sq := simp!* u; flag ('(taylorseriesp taylorcombine taylortostandard taylororiginal taylortemplate), 'opfn); flag ('(taylorseriesp), 'boolean); endmodule; end;