@@ -5,7 +5,7 @@ export ft2d,ift2d, rft2d, irft2d
55export ffts2d, ffts2d!, iffts2d, rffts2d, irffts2d
66
77"""
8- optional_collect(a)
8+ optional_collect(a)
99
1010Only collects certain arrays, for a pure `Array` there is no collect
1111and it returns simply `a`.
2727
2828
2929"""
30- ffts(A [, dims])
30+ ffts(A [, dims])
3131
3232Result is semantically equivalent to `fftshift(fft(A, dims), dims)`
3333However, the shift is done with `ShiftedArrays` and therefore doesn't allocate memory.
4141
4242
4343"""
44- ffts!(A [, dims])
44+ ffts!(A [, dims])
4545
4646Result is semantically equivalent to `fftshift(fft!(A, dims), dims)`.
4747`A` is in-place modified.
@@ -55,7 +55,7 @@ function ffts!(mat::AbstractArray{T, N}, dims=ntuple(identity, Val(N))) where {T
5555end
5656
5757"""
58- iffts(A [, dims])
58+ iffts(A [, dims])
5959
6060Result is semantically equivalent to `ifft(ifftshift(A, dims), dims)`.
6161`A` is in-place modified.
7070
7171
7272"""
73- rffts(A [, dims])
73+ rffts(A [, dims])
7474
7575Calculates a `rfft(A, dims)` and then shift the frequencies to the center.
7676`dims[1]` is not shifted, because there is no negative and positive frequency.
@@ -84,7 +84,7 @@ function rffts(mat::AbstractArray{T, N}, dims=ntuple(identity, Val(N))) where {T
8484end
8585
8686"""
87- irffts(A, d, [, dims])
87+ irffts(A, d, [, dims])
8888
8989Calculates a `irfft(A, d, dims)` and then shift the frequencies back to the corner.
9090`dims[1]` is not shifted, because there is no negative and positive frequency.
100100
101101
102102"""
103- ft(A [, dims])
103+ ft(A [, dims])
104104
105105Digital Fourier-transformation centered in both spaces.
106106The result is semantically equivalent to `fftshift(fft(ifftshift(A, dims), dims), dims)`
129129
130130
131131"""
132- ift(A [, dims])
132+ ift(A [, dims])
133133
134134Digital inverse Fourier-transformation centered in both spaces.
135135The result is semantically equivalent to `fftshift(ifft(ifftshift(A, dims), dims), dims)`
160160
161161
162162"""
163- rft(A [, dims])
163+ rft(A [, dims])
164164
165165Digital real-valued Fourier-transformation centered in both spaces.
166166The result is semantically equivalent to `fftshift(rfft(ifftshift(A, dims), dims), dims)`
@@ -185,7 +185,7 @@ function rft(mat::AbstractArray{T, N}, dims=ntuple(identity, Val(N))) where {T,
185185end
186186
187187"""
188- irft(A, d, [, dims])
188+ irft(A, d, [, dims])
189189
190190Digital real-valued inverse Fourier-transformation centered in both spaces.
191191The result is semantically equivalent to `fftshift(irfft(ifftshift(A, dims), dims), dims)`
@@ -212,23 +212,23 @@ end
212212
213213# # Short-hand versions of the ft functions
214214"""
215- ft2d(mat::AbstractArray{T, N}) where {T, N}
215+ ft2d(mat::AbstractArray{T, N}) where {T, N}
216216
217217Only over `dims=(1,2)`.
218218"""
219219function ft2d (mat:: AbstractArray{T, N} ) where {T, N}
220220 ft (mat,(1 ,2 ))
221221end
222222"""
223- ift2d(mat::AbstractArray{T, N}) where {T, N}
223+ ift2d(mat::AbstractArray{T, N}) where {T, N}
224224
225225Only over `dims=(1,2)`.
226226"""
227227function ift2d (mat:: AbstractArray{T, N} ) where {T, N}
228228 ift (mat,(1 ,2 ))
229229end
230230"""
231- rft2d(mat::AbstractArray{T, N}) where {T, N}
231+ rft2d(mat::AbstractArray{T, N}) where {T, N}
232232
233233Only over `dims=(1,2)`.
234234"""
@@ -237,7 +237,7 @@ function rft2d(mat::AbstractArray{T, N}) where {T, N}
237237end
238238
239239"""
240- irft2d(mat::AbstractArray{T, N}, d) where {T, N}
240+ irft2d(mat::AbstractArray{T, N}, d) where {T, N}
241241
242242Only over `dims=(1,2)`.
243243"""
@@ -246,7 +246,7 @@ function irft2d(mat::AbstractArray{T, N}, d::Int) where {T, N}
246246end
247247
248248"""
249- ft2d(mat::AbstractArray{T, N}) where {T, N}
249+ ft2d(mat::AbstractArray{T, N}) where {T, N}
250250
251251Only over `dims=(1,2)`.
252252"""
@@ -255,7 +255,7 @@ function ffts2d(mat::AbstractArray{T, N}) where {T, N}
255255end
256256
257257"""
258- fft2ds!(mat::AbstractArray{T, N}) where {T, N}
258+ fft2ds!(mat::AbstractArray{T, N}) where {T, N}
259259
260260Only over `dims=(1,2)`.
261261"""
265265
266266
267267"""
268- iffts2d(mat::AbstractArray{T, N}) where {T, N}
268+ iffts2d(mat::AbstractArray{T, N}) where {T, N}
269269
270270Only over `dims=(1,2)`.
271271"""
@@ -282,7 +282,7 @@ function rffts2d(mat::AbstractArray{T, N}) where {T, N}
282282end
283283
284284"""
285- riffts2d(mat::AbstractArray{T, N}, d) where {T, N}
285+ riffts2d(mat::AbstractArray{T, N}, d) where {T, N}
286286
287287Only over `dims=(1,2)`.
288288"""
@@ -293,15 +293,15 @@ end
293293
294294# # Short-hand versions of the fft functions
295295"""
296- fft2d(mat::AbstractArray{T, N}) where {T, N}
296+ fft2d(mat::AbstractArray{T, N}) where {T, N}
297297
298298Only over `dims=(1,2)`.
299299"""
300300function fft2d (mat:: AbstractArray{T, N} ) where {T, N}
301301 fft (mat,(1 ,2 ))
302302end
303303"""
304- ifft2d(mat::AbstractArray{T, N}) where {T, N}
304+ ifft2d(mat::AbstractArray{T, N}) where {T, N}
305305
306306Only over `dims=(1,2)`.
307307"""
@@ -310,7 +310,7 @@ function ifft2d(mat::AbstractArray{T, N}) where {T, N}
310310end
311311
312312"""
313- rfft2d(mat::AbstractArray{T, N}) where {T, N}
313+ rfft2d(mat::AbstractArray{T, N}) where {T, N}
314314
315315Only over `dims=(1,2)`.
316316"""
@@ -319,7 +319,7 @@ function rfft2d(mat::AbstractArray{T, N}) where {T, N}
319319end
320320
321321"""
322- irfft2d(mat::AbstractArray{T, N}, d) where {T, N}
322+ irfft2d(mat::AbstractArray{T, N}, d) where {T, N}
323323
324324Only over `dims=(1,2)`.
325325"""
0 commit comments