Overview
Comment:*** empty log message ***
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 4fe881277d50e558eea26d56dddf47ca9b47255abe9c62b4880d8e92efa12e31
User & Date: gawthrop@users.sourceforge.net on 2000-08-24 09:09:22
Other Links: branch diff | manifest | tags
Context
2000-08-24
11:42:46
Read subs file check-in: ae23b94723 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
09:09:22
*** empty log message *** check-in: 4fe881277d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
08:53:35
New makesubs to create a .subs.r file with output switches to simplify output. check-in: 128979d078 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/reduce_matrix.r from [eb3b78baaa] to [80a2f375d5].

8
9
10
11
12
13
14



15
16
17
18
19
20
21
22
23
24

25
26
27
28
29
30
31
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







+
+
+










+









% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % Version control history
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% % $Id$
% % $Log$
% % Revision 1.1  1998/01/22 10:39:01  peterg
% % Initial revision
% %
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




PROCEDURE Reduce_Matrix;
BEGIN
  IF MTT_Matrix_n>0 THEN
    IF MTT_Matrix_m>0 THEN
    BEGIN
     write "clear ", MTT_Matrix_name, ";";
     write "MATRIX ", MTT_Matrix_name, "(", MTT_Matrix_n, ",",
                                            MTT_Matrix_m, ");";
    
    FOR i := 1:MTT_Matrix_n DO
      FOR j := 1:MTT_Matrix_m DO IF MTT_Matrix(i,j) NEQ 0 THEN
        write MTT_Matrix_name, "(", i, ",", j, ") := ",
                                            MTT_Matrix(i,j), ";";


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]