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: 968668b6d531a89bb139e020a4634c4ce5b2c37f13b4e63b506d47a473f1c256
User & Date: gawthrop@users.sourceforge.net on 2000-08-30 10:24:03
Other Links: branch diff | manifest | tags
Context
2000-08-30
10:43:17
Simplified version using GENTRAN matrix :=: matrix
lang_matrix is no longer used at all
check-in: 19241f3b2d user: gawthrop@users.sourceforge.net tags: origin/master, trunk
10:24:03
Initial revision check-in: 968668b6d5 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2000-08-29
17:33:59
After much fiddling about ..
now does global optimisation (over all elements of matrix / vector)
still fails for _sm.m
check-in: e016a8a990 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Added mttroot/mtt/bin/trans/mtt_vectorise version [0612d65c2d].



















>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
#!/bin/sh
# Vectorises the matrix output of reduce ie converts [n,1] to [n]
# Copyright (C) 2000 by Peter J. Gawthrop

mv $1 $1_junk
sed 's/mtt_matrix\[\([0-9]*\),1\]/mtt_matrix[\1]/'< $1_junk > $1
rm -f $1_junk



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