Overview
Comment: | Helper for _sese generation |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
6752210f2e338c9346168947aa17e189 |
User & Date: | gawthrop@users.sourceforge.net on 2003-03-13 15:43:36 |
Other Links: | branch diff | manifest | tags |
Context
2003-03-13
| ||
15:44:53 | The main transformation for sorted elementary equations check-in: 976e0c6b3d user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
15:43:36 | Helper for _sese generation check-in: 6752210f2e user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
15:32:37 | Octave m files for generating sorted equations _sese.r check-in: b2e26af53a user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Added mttroot/mtt/bin/trans/m/cause2index.m version [d105a576d5].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | function index = cause2index (causality) ## usage: index = cause2index (causality) ## ## if isstr(causality) if strcmp(causality,"effort") index = 1; elseif strcmp(causality,"flow") index = 2; elseif strcmp(causality,"state") index = 3 else error(sprintf("Causality ""%s"" not recognised",causality)); endif else if causality==1 index = 1; elseif causality==-1 index = 2; else error(sprintf("Causality ""%i"" not recognised",causality)); endif endif endfunction |