Cleanup tests/docs and add rng and ode tests. - 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:
authorLesley De Cruz <lesley.decruz+git@gmail.com>2012年03月04日 00:46:27 +0100
committerFrancesco Abbate <francesco.bbt@gmail.com>2012年03月04日 21:41:31 +0100
commit750b1a5619b6fc5bcf4e7af84896a8eaf01589d0 (patch)
tree1433a491abf52498e6926822af72d18030c8f5dd /tests/fft.lua
parent9c0c6b43eccbb17963a49b74610badcfac5c7445 (diff)
downloadgsl-shell-auto-test.tar.gz
Cleanup tests/docs and add rng and ode tests.auto-test
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月12日 14:27:40 +0000

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