summaryrefslogtreecommitdiff
path: root/omegalib/examples/old_test/m1.oc-rt
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2016-09-19 11:52:51 -0600
committerTuowen Zhao <ztuowen@gmail.com>2016-09-19 11:52:51 -0600
commit372c92e7c1901dd7bdd1d2fd48bff205c31dca2d (patch)
tree439073a6481f50b26e2e881999cc568619628987 /omegalib/examples/old_test/m1.oc-rt
parent62f7acd88465f4f20b9b25c3f7edd4e3b7ce453b (diff)
downloadchill-372c92e7c1901dd7bdd1d2fd48bff205c31dca2d.tar.gz
chill-372c92e7c1901dd7bdd1d2fd48bff205c31dca2d.tar.bz2
chill-372c92e7c1901dd7bdd1d2fd48bff205c31dca2d.zip
remove omegacalc as subproject
Diffstat (limited to 'omegalib/examples/old_test/m1.oc-rt')
-rw-r--r--omegalib/examples/old_test/m1.oc-rt41
1 files changed, 0 insertions, 41 deletions
diff --git a/omegalib/examples/old_test/m1.oc-rt b/omegalib/examples/old_test/m1.oc-rt
deleted file mode 100644
index ad2c49c..0000000
--- a/omegalib/examples/old_test/m1.oc-rt
+++ /dev/null
@@ -1,41 +0,0 @@
->>> T1:={[i,j]->[i,j,0]};
->>> T2:={[i,j]->[i,j,1]};
->>> R1:={[1:9,1:9]};
->>> R2:={[5,1:9]};
->>> codegen T1:R1,T2:R2;
-for(t1 = 1; t1 <= 9; t1++) {
- if (t1 <= 4) {
- for(t2 = 1; t2 <= 9; t2++) {
- s1(t1,t2);
- }
- }
- if (t1 == 5) {
- for(t2 = 1; t2 <= 9; t2++) {
- s1(5,t2);
- s2(5,t2);
- }
- }
- if (t1 >= 6) {
- for(t2 = 1; t2 <= 9; t2++) {
- s1(t1,t2);
- }
- }
-}
-
->>> codegen 2 T1:R1,T2:R2;
-for(t1 = 1; t1 <= 4; t1++) {
- for(t2 = 1; t2 <= 9; t2++) {
- s1(t1,t2);
- }
-}
-for(t2 = 1; t2 <= 9; t2++) {
- s1(5,t2);
- s2(5,t2);
-}
-for(t1 = 6; t1 <= 9; t1++) {
- for(t2 = 1; t2 <= 9; t2++) {
- s1(t1,t2);
- }
-}
-
-