@@ -7,7 +7,6 @@ PDL::FFTW3 - PDL interface to the Fastest Fourier Transform in the West v3
7
7
use PDL;
8
8
use PDL::FFTW3;
9
9
use PDL::Graphics::Gnuplot;
10
- use PDL::Complex;
11
10
12
11
# Basic functionality
13
12
my $x = sin( sequence(100) * 2.0 ) + 2.0 * cos( sequence(100) / 3.0 );
@@ -138,17 +137,9 @@ a single-precision floating point transform (and return data of that type).
138
137
139
138
fft1( $x->byte )
140
139
141
- This module expects complex numbers to be stored as a (real,imag) pair in the
142
- first dimension of an ndarray. Thus in a complex ndarray C<$x>, it is expected that
143
- C<$x-E<gt>dim(0) == 2> (this module verifies this before proceeding).
144
- As of 0.10, it works to pass in a L<PDL::Complex> object, though the
145
- output will still currently be a similarly-shaped "real" L<PDL>
146
- object with the initial dimension of 2. This is intended to be changed
147
- so the output type is the same as the input.
148
-
149
- As of version 0.11, you can also pass in ndarrays with the new "native
150
- complex" types (C<cfloat>, C<cdouble>), without the initial dimension of
151
- 2. Outputs will also be native complex.
140
+ As of 0.20, this module expects complex numbers to be stored as "native
141
+ complex" types (C<cfloat>, C<cdouble>). Outputs will also be native
142
+ complex.
152
143
153
144
Generally, the sizes of the input and the output must match. This is completely
154
145
true for the complex <-> complex transforms: the output will have the same size
0 commit comments