Fast Fourier transform: Difference between revisions

m
got rid of the conv
m (UFCS == win?)
m (got rid of the conv)
Line 360:
 
D2 v2.060
<lang D>import std.stdio, std.math, std.algorithm, std.range, std.complex, std.conv;
 
auto fft(Complex!real[] x)
{
intulong N = to!int(x.length);
if (N <= 1) { return x; }
auto ev = stride(x, 2).array.fft;
Anonymous user