3 ms·
Thanks tlb. You're totally right. I wrote the example code to match the notation used in the post which is a reflection of my maths background. I suspect that f
by extremelearning 8y ago
Thanks tlb.
You're totally right. I wrote the example code to match the notation used in the post which is a reflection of my maths background. I suspect that from a programming perspective using the recurrence relation:
z[i+1] = (z[i] + alpha) %1
is better practice in terms of both speed and accuracy.
I have updated my post to make this clearer. Thanks.