diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-17 03:22:53 +0000 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-17 03:22:53 +0000 |
commit | 75ff98e4d65862ff5b36b533b4f6e3ea71ede1d5 (patch) | |
tree | 498ac06b4cf78568b807fafd2619856afff69c28 /omegalib/examples/old_test/lu_ijk | |
parent | 29efa7b1a0d089e02a70f73f348f11878955287c (diff) | |
download | chill-75ff98e4d65862ff5b36b533b4f6e3ea71ede1d5.tar.gz chill-75ff98e4d65862ff5b36b533b4f6e3ea71ede1d5.tar.bz2 chill-75ff98e4d65862ff5b36b533b4f6e3ea71ede1d5.zip |
cmake build
Diffstat (limited to 'omegalib/examples/old_test/lu_ijk')
-rw-r--r-- | omegalib/examples/old_test/lu_ijk | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/omegalib/examples/old_test/lu_ijk b/omegalib/examples/old_test/lu_ijk new file mode 100644 index 0000000..5f60bfa --- /dev/null +++ b/omegalib/examples/old_test/lu_ijk @@ -0,0 +1,17 @@ +symbolic n,lb,ub; +I5 := {[k,j] : 1 <= k < j <= n}; +I7 := {[k,j,i] : 1 <= k < j,i <= n}; +T5 := {[k,j] -> [k,j,1,0]}; +T7 := {[k,j,i] -> [i,j,0,k]}; +D57 := {[k,j] -> [k,j,i] : 1 <= k < j,i <= n}; +D75 := {[k,j,k+1] -> [k+1,j] : 1 <= k <= j-2 && j <= n} union + {[k,k+1,k+1] -> [k+1,j'] : 1 <= k <= j'-2 && j' <= n}; +D77 := {[k,j,i] -> [k+1,j,i] : 1 <= k <= i-2, j-2 && j <= n && i <= n} + union + {[k,k+1,i] -> [k+1,j',i] : 1 <= k <= i-2, j'-2 && j' <= n && i <= n}; +difference ( (inverse T5) join D57 join T7 ); +difference ( (inverse T7) join D75 join T5 ); +difference ( (inverse T7) join D77 join T7 ); +codegen T5:I5,T7:I7; +codegen 2 T5:I5,T7:I7; +codegen 3 T5:I5,T7:I7; |