Artifact 898ce2b7efaa9543e0dcf5e4193074214f6f6fa45409bc89f9b0c102d0a57d50:
- Executable file
r37/packages/excalc/exaux.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: 1028) [annotate] [blame] [check-ins using] [more...]
- Executable file
r38/packages/excalc/exaux.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: 1028) [annotate] [blame] [check-ins using]
module exaux; % Author: Eberhard Schruefer; fluid '(!*nat); global '(coord!* basisforml!* keepl!*); symbolic procedure boundindp(u,v); if null u then t else member(car u,v) and boundindp(cdr u,v); symbolic procedure memblp(u,v); if null u then nil else if atom u then member(u,v) else memblp(car u,v) or memblp(cdr u,v); symbolic procedure displayframe; begin scalar x,scoord; terpri!* t; scoord := coord!*; coord!* := nil; for each j in basisforml!* do <<x := assoc(j,keepl!*); maprin car x; prin2!* " = "; maprin reval cdr x; terpri!* t>>; %was varpri(reval cdr x,list mkquote car x,t)>>; if !*nat then terpri!* t; coord!* := scoord end; put('displayframe,'stat,'endstat); %symbolic procedure form!*coeff u; %begin scalar x,inds; %integer n; %inds:=cdr u; %n:=length inds; %x:=simp!* car u; %y:=dstrsdf numr x; %put('fcoeff,'simpfn,'form!*coeff); endmodule; end;