summaryrefslogtreecommitdiff
path: root/impl/performance/generate-cycle.py
blob: 6c22e6e79d005ed56ff2be9aabc93b07a8e7e569 (about) (plain)
1
2
3
4
5
import sys

print 'x0 = max(0,x'+str(int(sys.argv[1])-1)+')'
for i in xrange(int(sys.argv[1])-1):
  print 'x' + str(i+1) + " = x" + str(i)