︙ | | | ︙ | |
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.238 2000/04/10 10:06:41 peterg
## Sorted out implicit rules for p2oct conversion
##
## Revision 1.237 2000/04/07 19:10:24 peterg
## New smxa and smxax reps
##
## Revision 1.236 2000/04/06 10:55:36 peterg
|
>
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright (C) 2000 by Peter J. Gawthrop
###############################################################
## Version control history
###############################################################
## $Header$
## $Log$
## Revision 1.239 2000/04/11 18:08:33 peterg
## Fixed cse.tex bug
##
## Revision 1.238 2000/04/10 10:06:41 peterg
## Sorted out implicit rules for p2oct conversion
##
## Revision 1.237 2000/04/07 19:10:24 peterg
## New smxa and smxax reps
##
## Revision 1.236 2000/04/06 10:55:36 peterg
|
︙ | | | ︙ | |
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
|
if [ -n "$DIFF" ]; then
mv $1_args.new $1_args.m
fi
# Tidy mode - operate in the directory MTT-work
if [ "$tidy" = "tidy" ]; then
mkdir -p MTT_work
cp -p -u Makefile *.* .* MTT_work 2>/dev/null
cd MTT_work
if [ -z "$directory" ]; then
Directory=''
else
Directory=$directory/MTT_work
fi
|
|
|
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
|
if [ -n "$DIFF" ]; then
mv $1_args.new $1_args.m
fi
# Tidy mode - operate in the directory MTT-work
if [ "$tidy" = "tidy" ]; then
mkdir -p MTT_work
cp -p -u Makefile Make *.* .* MTT_work 2>/dev/null
cd MTT_work
if [ -z "$directory" ]; then
Directory=''
else
Directory=$directory/MTT_work
fi
|
︙ | | | ︙ | |
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
|
#Constrained-state equations
$1_cse.r: $1_dae.r $1_def.r $1_sympar.r $1_subs.r
dae2cse_r $Solve $1; tidy $1_cse.r $1_subs.r
#$1_cse.m: $1_def.r $1_cse.r $1_sympar.r $1_subs.r
# cse_r2m $1; matlab_tidy $1_cse.m
$1_cse.m: $1_def.m $1_cse.r $1_sympars.txt
mtt_r2m $1 cse; matlab_tidy $1_cse.m; matlab_tidy $1_cseo.m;
$1_cseo.m: $1_cse.m
touch $1_cseo.m
$1_cse.tex: $1_cse.r $1_sympar.r $1_simp.r
cse_r2tex $1 $2; latex_tidy $1_cse.tex
## Implicit oct rules
%.oct: %.p
|
|
|
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
|
#Constrained-state equations
$1_cse.r: $1_dae.r $1_def.r $1_sympar.r $1_subs.r
dae2cse_r $Solve $1; tidy $1_cse.r $1_subs.r
#$1_cse.m: $1_def.r $1_cse.r $1_sympar.r $1_subs.r
# cse_r2m $1; matlab_tidy $1_cse.m
$1_cse.m: $1_def.m $1_cse.r $1_sympars.txt
mtt_r2m -parameters -noglobal $1 cse; matlab_tidy $1_cse.m; matlab_tidy $1_cseo.m;
$1_cseo.m: $1_cse.m
touch $1_cseo.m
$1_cse.tex: $1_cse.r $1_sympar.r $1_simp.r
cse_r2tex $1 $2; latex_tidy $1_cse.tex
## Implicit oct rules
%.oct: %.p
|
︙ | | | ︙ | |
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
|
#SUMMARY smx state matrices with variable state x (m)
#SUMMARY smxx Sparse computation of Ax (m)
#SUMMARY smxtx Sparse computation of ATx (m)
$1_smx.r: $1_def.r $1_def.m $1_ode.r $1_subs.r
ode2smx_lang $1 r; tidy $1_smx.r
$1_smx.m: $1_def.r $1_def.m $1_cse.r $1_sympars.txt $1_subs.r
cse2smx_lang $1 smx m
$1_smxa.m: $1_def.r $1_def.m $1_cse.r $1_sympars.txt $1_subs.r
cse2smx_lang $1 smxa m
$1_smxax.m: $1_def.r $1_def.m $1_cse.r $1_sympars.txt $1_subs.r
cse2smx_lang $1 smxax m
|
|
|
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
|
#SUMMARY smx state matrices with variable state x (m)
#SUMMARY smxx Sparse computation of Ax (m)
#SUMMARY smxtx Sparse computation of ATx (m)
$1_smx.r: $1_def.r $1_def.m $1_ode.r $1_subs.r
ode2smx_lang $1 r; tidy $1_smx.r
$1_smx.m: $1_def.r $1_def.m $1_cse.r $1_sympars.txt $1_subs.r
cse2smx_lang -parameters -noglobal $1 smx m
$1_smxa.m: $1_def.r $1_def.m $1_cse.r $1_sympars.txt $1_subs.r
cse2smx_lang $1 smxa m
$1_smxax.m: $1_def.r $1_def.m $1_cse.r $1_sympars.txt $1_subs.r
cse2smx_lang $1 smxax m
|
︙ | | | ︙ | |