Skip to content

Instantly share code, notes, and snippets.

Created October 15, 2016 00:07
Show Gist options
  • Save anonymous/1736543412b67107786ef613b15e63bd to your computer and use it in GitHub Desktop.
Save anonymous/1736543412b67107786ef613b15e63bd to your computer and use it in GitHub Desktop.
ys = []
for t in 0:T
y = 0
for i in 0:t
for j in 0:t
y += a[i] * b[j] * exp(k * (t - max(i, j)))
ys.push(y)
return ys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment