@@ -7,16 +7,14 @@ using Base.LinAlg: BlasReal
7
7
import Base: show, summary, size, ndims, length, eltype,
8
8
* , A_mul_B!, inv, \ , A_ldiv_B!
9
9
10
- if isdefined (Base, :DFT )
11
- import Base. DFT: fft, ifft, bfft, fft!, ifft!, bfft!,
12
- plan_fft, plan_ifft, plan_bfft, plan_fft!, plan_ifft!, plan_bfft!,
13
- rfft, irfft, brfft, plan_rfft, plan_irfft, plan_brfft
14
- else
10
+ if ! isdefined (Base, :DFT )
15
11
export fft, ifft, bfft, fft!, ifft!, bfft!,
16
12
plan_fft, plan_ifft, plan_bfft, plan_fft!, plan_ifft!, plan_bfft!,
17
- rfft, irfft, brfft, plan_rfft, plan_irfft, plan_brfft
13
+ rfft, irfft, brfft, plan_rfft, plan_irfft, plan_brfft,
14
+ fftshift, ifftshift
18
15
end
19
16
17
+
20
18
# DFT plan where the inputs are an array of eltype T
21
19
abstract type Plan{T} end
22
20
@@ -358,8 +356,6 @@ plan_irfft
358
356
359
357
# #############################################################################
360
358
361
- export fftshift, ifftshift
362
-
363
359
fftshift (x) = circshift (x, div .([size (x)... ],2 ))
364
360
365
361
"""
0 commit comments