@@ -7,16 +7,14 @@ using Base.LinAlg: BlasReal
77import Base: show, summary, size, ndims, length, eltype,
88 * , A_mul_B!, inv, \ , A_ldiv_B!
99
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 )
1511 export fft, ifft, bfft, fft!, ifft!, bfft!,
1612 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
1815end
1916
17+
2018# DFT plan where the inputs are an array of eltype T
2119abstract type Plan{T} end
2220
@@ -358,8 +356,6 @@ plan_irfft
358356
359357# #############################################################################
360358
361- export fftshift, ifftshift
362-
363359fftshift (x) = circshift (x, div .([size (x)... ],2 ))
364360
365361"""
0 commit comments