]> gitweb.factorcode.org Git - factor.git/commitdiff
Move math.transforms.fft to unmaintained since it's broken and there are no unit...
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 21 Sep 2010 05:20:23 +0000 (00:20 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 21 Sep 2010 05:20:23 +0000 (00:20 -0500)
extra/math/transforms/fft/authors.txt [deleted file]
extra/math/transforms/fft/fft-docs.factor [deleted file]
extra/math/transforms/fft/fft.factor [deleted file]
extra/math/transforms/fft/summary.txt [deleted file]
unmaintained/math/transforms/fft/authors.txt [new file with mode: 0644]
unmaintained/math/transforms/fft/fft-docs.factor [new file with mode: 0644]
unmaintained/math/transforms/fft/fft.factor [new file with mode: 0644]
unmaintained/math/transforms/fft/summary.txt [new file with mode: 0644]

diff --git a/extra/math/transforms/fft/authors.txt b/extra/math/transforms/fft/authors.txt
deleted file mode 100644 (file)
index 3b4a4af..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Hans Schmid
diff --git a/extra/math/transforms/fft/fft-docs.factor b/extra/math/transforms/fft/fft-docs.factor
deleted file mode 100644 (file)
index 93d72f3..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-USING: help.markup help.syntax sequences ;
-IN: math.transforms.fft
-
-HELP: fft
-{ $values { "seq" sequence } { "seq'" sequence } }
-{ $description "Fast Fourier transform function." } ;
-
diff --git a/extra/math/transforms/fft/fft.factor b/extra/math/transforms/fft/fft.factor
deleted file mode 100644 (file)
index 440243a..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-! Copyright (c) 2007 Hans Schmid.
-! See http://factorcode.org/license.txt for BSD license.
-USING: columns grouping kernel math math.constants math.functions math.vectors
-    sequences ;
-IN: math.transforms.fft
-
-! Fast Fourier Transform
-
-<PRIVATE
-
-: n^v ( n v -- w ) [ ^ ] with map ;
-
-: omega ( n -- n' )
-    recip -2 pi i* * * exp ;
-
-: twiddle ( seq -- seq' )
-    dup length [ omega ] [ n^v ] bi v* ;
-
-PRIVATE>
-
-DEFER: fft
-
-: two ( seq -- seq' )
-    fft 2 v/n dup append ;
-
-<PRIVATE
-
-: even ( seq -- seq' ) 2 group 0 <column> ;
-: odd ( seq -- seq' ) 2 group 1 <column> ;
-
-: (fft) ( seq -- seq' )
-    [ odd two twiddle ] [ even two ] bi v+ ;
-
-PRIVATE>
-
-: fft ( seq -- seq' )
-    dup length 1 = [ (fft) ] unless ;
-
diff --git a/extra/math/transforms/fft/summary.txt b/extra/math/transforms/fft/summary.txt
deleted file mode 100644 (file)
index 3d71dfa..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Fast fourier transform
diff --git a/unmaintained/math/transforms/fft/authors.txt b/unmaintained/math/transforms/fft/authors.txt
new file mode 100644 (file)
index 0000000..3b4a4af
--- /dev/null
@@ -0,0 +1 @@
+Hans Schmid
diff --git a/unmaintained/math/transforms/fft/fft-docs.factor b/unmaintained/math/transforms/fft/fft-docs.factor
new file mode 100644 (file)
index 0000000..93d72f3
--- /dev/null
@@ -0,0 +1,7 @@
+USING: help.markup help.syntax sequences ;
+IN: math.transforms.fft
+
+HELP: fft
+{ $values { "seq" sequence } { "seq'" sequence } }
+{ $description "Fast Fourier transform function." } ;
+
diff --git a/unmaintained/math/transforms/fft/fft.factor b/unmaintained/math/transforms/fft/fft.factor
new file mode 100644 (file)
index 0000000..440243a
--- /dev/null
@@ -0,0 +1,38 @@
+! Copyright (c) 2007 Hans Schmid.
+! See http://factorcode.org/license.txt for BSD license.
+USING: columns grouping kernel math math.constants math.functions math.vectors
+    sequences ;
+IN: math.transforms.fft
+
+! Fast Fourier Transform
+
+<PRIVATE
+
+: n^v ( n v -- w ) [ ^ ] with map ;
+
+: omega ( n -- n' )
+    recip -2 pi i* * * exp ;
+
+: twiddle ( seq -- seq' )
+    dup length [ omega ] [ n^v ] bi v* ;
+
+PRIVATE>
+
+DEFER: fft
+
+: two ( seq -- seq' )
+    fft 2 v/n dup append ;
+
+<PRIVATE
+
+: even ( seq -- seq' ) 2 group 0 <column> ;
+: odd ( seq -- seq' ) 2 group 1 <column> ;
+
+: (fft) ( seq -- seq' )
+    [ odd two twiddle ] [ even two ] bi v+ ;
+
+PRIVATE>
+
+: fft ( seq -- seq' )
+    dup length 1 = [ (fft) ] unless ;
+
diff --git a/unmaintained/math/transforms/fft/summary.txt b/unmaintained/math/transforms/fft/summary.txt
new file mode 100644 (file)
index 0000000..3d71dfa
--- /dev/null
@@ -0,0 +1 @@
+Fast fourier transform