Skip to content

Instantly share code, notes, and snippets.

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
You can’t perform that action at this time.