-rw-r--r-- | tests/fft.lua | 5 |
diff --git a/tests/fft.lua b/tests/fft.lua index 46672196..880ebe94 100644 --- a/tests/fft.lua +++ b/tests/fft.lua @@ -1,13 +1,8 @@ use'num' local t = {} - local y = function(n) return matrix.new(n, 1, |i| i < n/3 and 0 or (i < 2*n/3 and 1 or 0)) end -local v=1 -local in_place=1 -local hc=1 - t.fft = function(test) test{fft(y(64))} end t.fft_id = function(test) test{tostring(fftinv(fft(y(1024))))==tostring(y(1024)) } end return t |