On Fri, Jul 13, 2012 at 10:24 AM, Raul Miller wrote:
> Anyways, I'll try and put my thoughts into code.
So... mostly I did not write any code yet. Instead, I ran into some
minor problems and did not have enough motivation to do much about
them, so I slept on them instead.
I think the biggest is
Here's a variation on roots of unity:
rou=: [: (* * |)&.+. [: ^ 0j2p1 * % * i.
Except, it's not compatible with the version in
http://www.jsoftware.com/jwiki/Essays/FFT
For reasons I do not understand the essay version only gives 4 roots
when I ask for 8. For compatibility purposes I could divi
[Discussion moved to: programming]
Everyone knows (...don't they?) the use of '13 :' to transform a verb
from explicit to tacit form, as in:
13 : '(+/y) % #y'
+/ % #
Novices quickly yearn for '_13 :' to convert the other way, maybe like
this? (don't splutter) ...
_13 : '+/ % #'
(+/y) % #y
What a joy to receive your e-mail right after Raul's!
rou=: [: (* * |)&.+. [: ^ 0j2p1 * % * i.
rou ttem
3 : 0
z7=. i. y
p7=. % y
t8=. p7 * z7
s8=. ^ (0j6.2831853071795862) * t8
((* * |)&.+.)s8
)
roue=: 13 :'((**|)&.+.)^0j2p1 *(%y)*i.y'
rou 8
1 0.707107j0.707107 0j1 _0.707107j0.707107