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: |
475220579096e2646b2e50b2bb1e4420 |
User & Date: | gawthrop@users.sourceforge.net on 1998-01-22 09:59:36 |
Other Links: | branch diff | manifest | tags |
Context
1998-01-22
| ||
10:39:01 | Initial revision check-in: d611ac00e5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
09:59:36 | Initial revision check-in: 4752205790 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
1998-01-21
| ||
09:24:46 |
Removed 'touch $1_rep.txt' -- perhaps best to do this by hand if necessary. As it is, it cuased probs wene reediting the _rep.txt file. check-in: 4fbf381bc5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk | |
Changes
Added mttroot/mtt/bin/trans/latex_matrix.r version [32fe2d9726].
> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > | 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 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%% Model Transformation Tools %%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Reduce function to write matrices in latex form % P.J.Gawthrop January 22 1998 % Copyright (c) P.J.Gawthrop, 1998 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Version control history %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% $Id$ %% $Log$ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PROCEDURE Latex_Matrix; BEGIN IF MTT_Matrix_n>0 THEN IF MTT_Matrix_m>0 THEN BEGIN write "\begin{equation}"; write MTT_Matrix_name, " = \begin{pmatrix}"; FOR Row := 1:MTT_Matrix_n DO BEGIN FOR Col := 1:MTT_Matrix_m DO BEGIN write "{", MTT_Matrix(Row,Col), "}"; IF Col<MTT_Matrix_m THEN Write "&" END; IF Row<MTT_Matrix_n THEN Write "\cr"; END; write "\end{pmatrix}"; write "\end{equation}"; END; END; END;; |