Overview
Comment: | Initial revision |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c4c5a450a2a5321e911067af3ef1478b |
User & Date: | gawthrop@users.sourceforge.net on 1998-04-07 08:30:20 |
Other Links: | branch diff | manifest | tags |
Context
1998-04-07
| ||
08:44:11 | zapped eta - it messes up theta check-in: 4a371c0bfd user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
08:30:20 | Initial revision check-in: c4c5a450a2 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
08:12:12 | Added affine form. check-in: 17fd0d589b user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Added mttroot/mtt/bin/trans/obs_r2tex version [469a1957ed].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | #! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### # Bourne shell script: obs_r2tex # Reduce constrained-state matrices to LaTex constrained-state matrices. # P.J.Gawthrop 9 Sep 1991, May 1994 # Copyright (c) P.J.Gawthrop, 1991, May 1994, 1996. ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ # Revision 1.3 1997/06/13 13:50:11 peterg # Matrices in amstex format # # Revision 1.2 1997/04/18 12:54:00 peterg # No longer does labels. # # Revision 1.1 1996/08/19 15:19:23 peter # Initial revision # ############################################################### # Inform user echo Creating $1_obs.tex # Remove the old log file rm -f obs_r2tex.log # Use reduce to accomplish the transformation reduce >obs_r2tex.log << EOF %Read the definitions file in "$1_def.r"; %Read the obs file in "$1_obs.r"; %Read the Obs function parameters in "$1_obspar.r"; %Read the simplification parameters in "$1_simp.r"; %Read the formatting function in "$MTTPATH/trans/latex_matrix.r"; OFF Echo; OFF Nat; OFF EXP; OUT "$1_obs.tex"; % Write the obs vector (YY) MTT_Matrix := MTTYY$ MTT_Matrix_name := "MTTO"$ MTT_Matrix_n := (MTTGPCNY+1)*MTTNy$ MTT_Matrix_m := 1$ LaTeX_Matrix()$ % Write the affine form IF affine=1 THEN BEGIN MTT_Matrix := MTTObs_o$ MTT_Matrix_name := "MTTO_o"$ MTT_Matrix_n := (MTTGPCNY+1)*MTTNy$ MTT_Matrix_m := 1$ LaTeX_Matrix()$ MTT_Matrix := MTTObs_h$ MTT_Matrix_name := "MTTO_h"$ MTT_Matrix_n := (MTTGPCNy+1)*MTTNy$ MTT_Matrix_m := (MTTGPCNu+1)*MTTNu$ LaTeX_Matrix()$ END; SHUT "$1_obs.tex"; quit; EOF |