diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:36 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2017-02-20 00:05:36 -0800 |
commit | 5bea21e81ed516440e34e480f2c33ca41aa8c597 (patch) | |
tree | 653ace1b8fe0a9916d861d35ff8f611b46c80d37 /fft.txi | |
parent | 237c6e380aebdcbc70bd1c9ecf7d3f6effca2752 (diff) | |
download | slib-5bea21e81ed516440e34e480f2c33ca41aa8c597.tar.gz slib-5bea21e81ed516440e34e480f2c33ca41aa8c597.zip |
Import Upstream version 3a4upstream/3a4
Diffstat (limited to 'fft.txi')
-rw-r--r-- | fft.txi | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/fft.txi b/fft.txi deleted file mode 100644 index 80c19e9..0000000 --- a/fft.txi +++ /dev/null @@ -1,34 +0,0 @@ -@code{(require 'fft)} -@ftindex fft - - -@defun fft array - -@var{array} is an array of @code{(expt 2 n)} numbers. @code{fft} -returns an array of complex numbers comprising the -@dfn{Discrete Fourier Transform} of @var{array}. -@cindex Discrete Fourier Transform -@end defun - - -@defun fft-1 array - -@code{fft-1} returns an array of complex numbers comprising the -inverse Discrete Fourier Transform of @var{array}. -@end defun - -@noindent -@code{(fft-1 (fft @var{array}))} will return an array of values close to -@var{array}. - -@example -(fft '#(1 0+i -1 0-i 1 0+i -1 0-i)) @result{} - -#(0.0 0.0 0.0+628.0783185208527e-18i 0.0 - 0.0 0.0 8.0-628.0783185208527e-18i 0.0) - -(fft-1 '#(0 0 0 0 0 0 8 0)) @result{} - -#(1.0 -61.23031769111886e-18+1.0i -1.0 61.23031769111886e-18-1.0i - 1.0 -61.23031769111886e-18+1.0i -1.0 61.23031769111886e-18-1.0i) -@end example |