Skip to content

Commit 07d0654

Browse files
committed
Remove *fft2 functions
1 parent 287e686 commit 07d0654

File tree

1 file changed

+0
-164
lines changed

1 file changed

+0
-164
lines changed

spec/extensions/fourier_transform_functions.md

Lines changed: 0 additions & 164 deletions
Original file line numberDiff line numberDiff line change
@@ -53,47 +53,6 @@ Computes the one-dimensional discrete Fourier transform.
5353

5454
- If `axis` is larger than the last axis of `a`.
5555

56-
(function-fft2)=
57-
### fft2(a, /, *, s=None, axes=(-2, -1), norm='backward')
58-
59-
Computes the two-dimensional discrete Fourier transform.
60-
61-
#### Parameters
62-
63-
- **a**: _<array>_
64-
65-
- Input array.
66-
67-
- **s**: _Union\[ Sequence\[ int ], Tuple\[ int, ... ] ]_
68-
69-
- Size of each transformed axis of the output. If given, each axis will be either zero-padded or trimmed to the length `s[i]` before computing the Fourier transform. Otherwise, no padding will be performed in each dimension. Default: `None`.
70-
71-
- **axes**: _Union\[ Sequence\[ int ], Tuple\[ int, ... ] ]_
72-
73-
- Axes over which to compute the Fourier transform. If it is not specified, the last two axes are used. Default: `(-2, -1)`.
74-
75-
- **norm**: _str_
76-
77-
- Specify the normalization mode. Should be one of the following modes:
78-
79-
- `'backward'`: No normalization.
80-
- `'ortho'`: Normalize by `1/sqrt(n)`
81-
- `'forward'`: Normalize by `1/n`.
82-
83-
Default: `'backward'`
84-
85-
#### Returns
86-
87-
- **out**: _<array>_
88-
89-
- An array transformed along the axes indicated by the `axes` keyword.
90-
91-
#### Raises
92-
93-
- If `s` and `axes` have a different length.
94-
- If `axes` is not given and the length of `s` is different from 2.
95-
- If an element of `axes` is larger than the number of axes of `a`.
96-
9756
(function-fftfreq)=
9857
### fftfreq(n, /, *, d=1.0)
9958

@@ -259,47 +218,6 @@ Computes the one-dimensional inverse discrete Fourier transform.
259218

260219
- If `axis` is larger than the last axis of `a`.
261220

262-
(function-ifft2)=
263-
### ifft2(a, /, *, s=None, axes=(-2, -1), norm='backward')
264-
265-
Computes the two-dimensional inverse discrete Fourier transform.
266-
267-
#### Parameters
268-
269-
- **a**: _<array>_
270-
271-
- Input array.
272-
273-
- **s**: _Union\[ Sequence\[ int ], Tuple\[ int, ... ] ]_
274-
275-
- Size of each transformed axis of the output. If given, each axis will be either zero-padded or trimmed to the length `s[i]` before computing the Fourier transform. Otherwise, no padding will be performed in each dimension. Default: `None`.
276-
277-
- **axes**: _Union\[ Sequence\[ int ], Tuple\[ int, ... ] ]_
278-
279-
- Axes over which to compute the inverse Fourier transform. If it is not specified, the last two axes are used. Default: `(-2, -1)`.
280-
281-
- **norm**: _str_
282-
283-
- Specify the normalization mode. Should be one of the following modes:
284-
285-
- `'backward'`: Normalize by `1/n`.
286-
- `'ortho'`: Normalize by `1/sqrt(n)`
287-
- `'forward'`: No normalization.
288-
289-
Default: `'backward'`
290-
291-
#### Returns
292-
293-
- **out**: _<array>_
294-
295-
- An array transformed along the axes indicated by the `axes` keyword.
296-
297-
#### Raises
298-
299-
- If `s` and `axes` have a different length.
300-
- If `axes` is not given and the length of `s` is different from 2.
301-
- If an element of `axes` is larger than the number of axes of `a`.
302-
303221
(function-ifftn)=
304222
### ifftn(a, /, *, s=None, axes=None, norm='backward')
305223

@@ -439,47 +357,6 @@ Computes the one-dimensional inverse discrete Fourier transform for real-valued
439357

440358
- If `axis` is larger than the last axis of `a`.
441359

442-
(function-irfft2)=
443-
### irfft2(a, /, *, s=None, axes=(-2, -1), norm='backward')
444-
445-
Computes the two-dimensional inverse discrete Fourier transform for real-valued input.
446-
447-
#### Parameters
448-
449-
- **a**: _<array>_
450-
451-
- Input array.
452-
453-
- **s**: _Union\[ Sequence\[ int ], Tuple\[ int, ... ] ]_
454-
455-
- Length of the transformed axis of the output. If given, the input will be either zero-padded or trimmed to this length before computing the real Fourier transform. Otherwise, it will default to `2 * (m - 1)` where `m` is the length of the input along the axis given by the `axes` keyword. Default: `None`.
456-
457-
- **axes**: _Union\[ Sequence\[ int ], Tuple\[ int, ... ] ]_
458-
459-
- Axes used to compute the real Fourier transform. If it is not specified, the last two axes are used. Default: `(-2, -1)`.
460-
461-
- **norm**: _str_
462-
463-
- Specify the normalization mode. Should be one of the following modes:
464-
465-
- `'backward'`: Normalize by `1/n`.
466-
- `'ortho'`: Normalize by `1/sqrt(n)`
467-
- `'forward'`: No normalization.
468-
469-
Default: `'backward'`
470-
471-
#### Returns
472-
473-
- **out**: _<array>_
474-
475-
- An array transformed along the axes indicated by the `axes` keyword.
476-
477-
#### Raises
478-
479-
- If `s` and `axes` have a different length.
480-
- If `axes` is not given and the length of `s` is different from 2.
481-
- If an element of `axes` is larger than the number of axes of `a`.
482-
483360
(function-irfftn)=
484361
### irfftn(a, /, *, s=None, axes=None, norm='backward')
485362

@@ -560,47 +437,6 @@ Computes the one-dimensional discrete Fourier transform for real-valued input.
560437

561438
- If `axis` is larger than the last axis of `a`.
562439

563-
(function-rfft2)=
564-
### rfft2(a, /, *, s=None, axes=(-2, -1), norm='backward')
565-
566-
Computes the two-dimensional discrete Fourier transform for real-valued input.
567-
568-
#### Parameters
569-
570-
- **a**: _<array>_
571-
572-
- Input array.
573-
574-
- **s**: _Union\[ Sequence\[ int ], Tuple\[ int, ... ] ]_
575-
576-
- Size of each transformed axis of the output. If given, each axis will be either zero-padded or trimmed to the length `s[i]` before computing the Fourier transform. Otherwise, no padding will be performed in each dimension. Default: `None`.
577-
578-
- **axes**: _Union\[ Sequence\[ int ], Tuple\[ int, ... ] ]_
579-
580-
- Axes over which to compute the Fourier transform. If it is not specified, the last two axes are used. Default: `(-2, -1)`.
581-
582-
- **norm**: _str_
583-
584-
- Specify the normalization mode. Should be one of the following modes:
585-
586-
- `'backward'`: No normalization.
587-
- `'ortho'`: Normalize by `1/sqrt(n)`
588-
- `'forward'`: Normalize by `1/n`.
589-
590-
Default: `'backward'`
591-
592-
#### Returns
593-
594-
- **out**: _<array>_
595-
596-
- An array transformed along the axes indicated by the `axes` keyword.
597-
598-
#### Raises
599-
600-
- If `s` and `axes` have a different length.
601-
- If `axes` is not given and the length of `s` is different from 2.
602-
- If an element of `axes` is larger than the number of axes of `a`.
603-
604440
(function-rfftfreq)=
605441
### rfftfreq(n, /, *, d=1.0)
606442

0 commit comments

Comments
 (0)