summaryrefslogtreecommitdiff
path: root/omega/examples/old_test/chosol
diff options
context:
space:
mode:
Diffstat (limited to 'omega/examples/old_test/chosol')
-rw-r--r--omega/examples/old_test/chosol11
1 files changed, 11 insertions, 0 deletions
diff --git a/omega/examples/old_test/chosol b/omega/examples/old_test/chosol
new file mode 100644
index 0000000..134172c
--- /dev/null
+++ b/omega/examples/old_test/chosol
@@ -0,0 +1,11 @@
+T10:={[i] -> [0,i,0,0]};
+T20:={[i,j] -> [1,j,0,i]};
+T30:={[i] -> [1,i-1,1,0]};
+
+symbolic n;
+IS10 := {[i]: 2 <= i <= n};
+IS20 := {[i,j]: 2 <= i <= n && 1 <= j <= i-1};
+IS30 := IS10;
+
+codegen T10:IS10,T20:IS20,T30:IS30;
+codegen 2 T10:IS10,T20:IS20,T30:IS30;