gsl-shell.git - gsl-shell

index : gsl-shell.git
gsl-shell
summary refs log tree commit diff
path: root/tests/fft.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/fft.lua')
-rw-r--r--tests/fft.lua 5
1 files changed, 0 insertions, 5 deletions
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
generated by cgit v1.2.3 (git 2.39.1) at 2025年09月10日 12:42:30 +0000

AltStyle によって変換されたページ (->オリジナル) /