repo.or.cz
/
barvinok.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
barvinok 0.41.5
[barvinok.git]
/
tests
/
iscc
/
sum2
blob
5e1416645be4360529e46136b262acf4c473fb62
1
f := { [i] -> i };
2
r := f([n] -> {[i] : 0 <= i <= n });
3
assert(r == [n] -> { (1/2 * n + 1/2 * n^2) : n >= 0 });