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: |
5d463df51390d58c71c030e5647e5f0a |
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: 2e00f57135 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
15:43:36 | Helper for _sese generation check-in: 5d463df513 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
15:32:37 | Octave m files for generating sorted equations _sese.r check-in: 0e41d1033c 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 |