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
topcom.c: add missing include
[barvinok.git]
/
tests
/
iscc
/
sum1
blob
adf24d979ab39ad6bebe0ecffd95d559eb3f5301
1
r := sum { [[n] -> [i]] -> i : 0 <= i <= n };
2
assert(r == { [n] -> (1/2 * n + 1/2 * n^2) : n >= 0 });