From e4b20015a4ee35f1279af4caa983478fa2ff0d4a Mon Sep 17 00:00:00 2001 From: dhuth Date: Mon, 6 Oct 2014 11:56:47 -0600 Subject: Added omega to source --- omega/examples/old_test/chosol | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 omega/examples/old_test/chosol (limited to 'omega/examples/old_test/chosol') 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; -- cgit v1.2.3-70-g09d2