@@ -1342,6 +1342,35 @@ end
13421342@deprecate srand (filename:: AbstractString , n:: Integer = 4 ) srand (read! (filename, Array {UInt32} (Int (n))))
13431343@deprecate MersenneTwister (filename:: AbstractString ) srand (MersenneTwister (0 ), read! (filename, Array {UInt32} (Int (4 ))))
13441344
1345+ # PR #21956
1346+ for f in [:bfft , :bfft! , :brfft , :dct , :dct! , :fft , :fft! , :fftshift , :idct , :idct! ,
1347+ :ifft , :ifft! , :ifftshift , :irfft , :plan_bfft , :plan_bfft! , :plan_brfft ,
1348+ :plan_dct , :plan_dct! , :plan_fft , :plan_fft! , :plan_idct , :plan_idct! ,
1349+ :plan_ifft , :plan_ifft! , :plan_irfft , :plan_rfft , :rfft ,
1350+ :conv , :conv2 , :deconv , :filt , :filt! , :xcorr ]
1351+ @eval begin
1352+ function $f (args... ; kwargs... )
1353+ error ($ f, " has been moved to the package FFTW.jl.\n " ,
1354+ " Run `Pkg.add(\" FFTW\" )` to install FFTW on Julia v0.7 and later, " ,
1355+ " and then run `using FFTW` to load it." )
1356+ end
1357+ export $ f
1358+ end
1359+ end
1360+ module FFTW
1361+ for f in [:r2r , :r2r! , :plan_r2r , :plan_r2r! ]
1362+ @eval begin
1363+ function $f (args... ; kwargs... )
1364+ error ($ f, " has been moved to the package FFTW.jl.\n " ,
1365+ " Run `Pkg.add(\" FFTW\" )` to install FFTW on Julia v0.7 and later, " ,
1366+ " and then run `using FFTW` to load it." )
1367+ end
1368+ export $ f
1369+ end
1370+ end
1371+ end
1372+ export FFTW
1373+
13451374# END 0.7 deprecations
13461375
13471376# BEGIN 1.0 deprecations
0 commit comments