Created
November 10, 2016 21:41
-
-
Save anonymous/2da3080f3594a81f6a8620194d5529d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] | |
ys.push(y) | |
return ys |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment