Instantly share code, notes, and snippets.

anonymous /graph_calculation_T2.txt
Created Nov 10, 2016

What would you like to do?
ys = [a[0] * b[0]]
multiplier = exp(k)
for t in 1:T
y = ys[-1] * multiplier
for i in 0:(t-1)
y += b[t] * a[i]
y += a[t] * b[i]
y += a[t] * b[t]
return ys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment