Overview
Comment: | Just optimize one line at a time ... |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
44b84100659fb39ca7bb6238746adebf |
User & Date: | gawthrop@users.sourceforge.net on 2000-10-14 16:19:54 |
Other Links: | branch diff | manifest | tags |
Context
2000-10-15
| ||
09:24:25 | Better way of generating mtt_infile check-in: 13fa9fd0e6 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
2000-10-14
| ||
16:19:54 | Just optimize one line at a time ... check-in: 44b8410065 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
16:11:00 | Made all variables, states etc lower case check-in: 384cfe7c99 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Modified mttroot/mtt/bin/trans/def2write_r from [78fe87a1c6] to [41c8c42bb2].
︙ | ︙ | |||
9 10 11 12 13 14 15 16 17 18 19 20 21 22 | # Copyright (C) 2000 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.2 2000/10/10 21:02:17 peterg ## Added cse reps ## ## Revision 1.1 2000/10/10 09:07:32 peterg ## Initial revision ## ############################################################### | > > > | 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | # Copyright (C) 2000 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.3 2000/10/11 09:07:17 peterg ## Added csex rep (cse without E) ## ## Revision 1.2 2000/10/10 21:02:17 peterg ## Added cse reps ## ## Revision 1.1 2000/10/10 09:07:32 peterg ## Initial revision ## ############################################################### |
︙ | ︙ | |||
71 72 73 74 75 76 77 | *) echo def2write_r: representation $rep not recognised exit esac # Write out the code echo 'off echo$ load scope$' >$1_$2_write.r | < > > | < | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 | *) echo def2write_r: representation $rep not recognised exit esac # Write out the code echo 'off echo$ load scope$' >$1_$2_write.r for matrix in $matrices; do n=`first "$ns"`; ns=`rest "$ns"` m=`first "$ms"`; ms=`rest "$ms"` is=`n2m 1 $n`; js=`n2m 1 $m`; for i in $is; do for j in $js; do echo 'optimize' >>$1_$2_write.r name=`echo MTT$matrix'('$i','$j')'` echo ' '$comma$name ':=:' $name >>$1_$2_write.r echo 'INAME mtt_tmp$' >>$1_$2_write.r comma='' done done done echo 'END$' >>$1_$2_write.r |