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: 7eff3bce27339725d62ef6109599712fe0b203b94a59061eaa22e3777ab6e5da
User & Date: gawthrop@users.sourceforge.net on 2001-02-02 21:26:30
Other Links: branch diff | manifest | tags
Context
2001-02-02
21:35:05
First version of kernel algorithm check-in: a0ce202c27 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
21:26:30
*** empty log message *** check-in: 7eff3bce27 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-12-28
18:52:25
Updated for new formats check-in: be97ec0abc user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/ker_r2tex version [efd3e610b9].






























































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
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
#! /bin/sh

     ###################################### 
     ##### Model Transformation Tools #####
     ######################################

# Bourne shell script: ker_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.
# Copyright (C) 2001 by Peter J. Gawthrop


# Inform user
echo Creating $1_ker.tex

# Remove the old log file
rm -f ker_r2tex.log

# Use reduce to accomplish the transformation
reduce >ker_r2tex.log << EOF

%Read the definitions file
in "$1_def.r";

%Read the constrained-state matrices file
in "$1_ker.r";

%Read the symbolic parameters file
%%in "$1_sympar.r";

%Read the substitution file
in "$1_subs.r";

%Read the simplification file
in "$1_simp.r";

%Read the formatting function
in "$MTTPATH/trans/latex_matrix.r";

OFF Echo;
OFF Nat;

MATRIX MTT_Matrix(MTTNy-MTTNu,MTTNy);

OUT "$1_ker.tex";

%Write out the kernel matrix
write "%Kernel  matrices $1";
write "%File: $1_ker.tex";
write"";

MTT_Matrix := MTTR$ 
MTT_Matrix_name := "MTTR"$
MTT_Matrix_n := MTTNy-MTTNu$
MTT_Matrix_m := MTTNy$
LaTeX_Matrix()$

SHUT "$1_ker.tex";
quit;
EOF


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