Artifact cc53e0470a5e728fb8978e59a08938976c46a733303e2a9f79fce976b8f10215:
- File
r34/src/zibchanges.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: 726) [annotate] [blame] [check-ins using] [more...]
module ZIBchanges; Comment Some useful changes for a little speedup from ZIB Berlin; symbolic procedure update!-pline(x,y,pline); % Adjusts origin of expression in pline by (x,y). if x=0 and y=0 then pline else for each j in pline collect (((caaar j #+ x) . (cdaar j #+ x)) . (cdar j #+ y)) . cdr j; symbolic procedure putpline w; begin if posn!* #+ cdar w > linelength nil #- spare!* then terpri!* t; pline!* := append(update!-pline(posn!* #- orig!*, ycoord!*, caar w), pline!*); posn!* := posn!* #+ cdar w; ymin!* := min(ymin!*, cadr w #+ ycoord!*); ymax!* := max(ymax!*, cddr w #+ ycoord!*) end; % to be continued ... endmodule; end;