Skip to content

Commit 425e9eb

Browse files
authored
Fix typo in FFT guidance
PR-URL: #743 Reviewed-by: Athan Reines <[email protected]> Ref: #720
1 parent 937d3b8 commit 425e9eb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: src/array_api_stubs/_2022_12/fft.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def rfft(
234234
Computes the one-dimensional discrete Fourier transform for real-valued input.
235235
236236
.. note::
237-
Applying the one-dimensional inverse discrete Fourier transform for real-valued input to the output of this function must return the original (i.e., non-transformed) input array within numerical accuracy (i.e., ``irfft(rfft(x)) == x``), provided that the transform and inverse transform are performed with the same arguments (axis and and normalization mode) and consistent values for the number of elements over which to compute the transforms.
237+
Applying the one-dimensional inverse discrete Fourier transform for real-valued input to the output of this function must return the original (i.e., non-transformed) input array within numerical accuracy (i.e., ``irfft(rfft(x)) == x``), provided that the transform and inverse transform are performed with the same arguments (axis and normalization mode) and consistent values for the number of elements over which to compute the transforms.
238238
239239
Parameters
240240
----------
@@ -283,7 +283,7 @@ def irfft(
283283
Computes the one-dimensional inverse of ``rfft`` for complex-valued input.
284284
285285
.. note::
286-
Applying the one-dimensional inverse discrete Fourier transform for real-valued input to the output of this function must return the original (i.e., non-transformed) input array within numerical accuracy (i.e., ``irfft(rfft(x)) == x``), provided that the transform and inverse transform are performed with the same arguments (axis and and normalization mode) and consistent values for the number of elements over which to compute the transforms.
286+
Applying the one-dimensional inverse discrete Fourier transform for real-valued input to the output of this function must return the original (i.e., non-transformed) input array within numerical accuracy (i.e., ``irfft(rfft(x)) == x``), provided that the transform and inverse transform are performed with the same arguments (axis and normalization mode) and consistent values for the number of elements over which to compute the transforms.
287287
288288
Parameters
289289
----------

Diff for: src/array_api_stubs/_draft/fft.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def rfft(
234234
Computes the one-dimensional discrete Fourier transform for real-valued input.
235235
236236
.. note::
237-
Applying the one-dimensional inverse discrete Fourier transform for real-valued input to the output of this function must return the original (i.e., non-transformed) input array within numerical accuracy (i.e., ``irfft(rfft(x)) == x``), provided that the transform and inverse transform are performed with the same arguments (axis and and normalization mode) and consistent values for the number of elements over which to compute the transforms.
237+
Applying the one-dimensional inverse discrete Fourier transform for real-valued input to the output of this function must return the original (i.e., non-transformed) input array within numerical accuracy (i.e., ``irfft(rfft(x)) == x``), provided that the transform and inverse transform are performed with the same arguments (axis and normalization mode) and consistent values for the number of elements over which to compute the transforms.
238238
239239
Parameters
240240
----------
@@ -283,7 +283,7 @@ def irfft(
283283
Computes the one-dimensional inverse of ``rfft`` for complex-valued input.
284284
285285
.. note::
286-
Applying the one-dimensional inverse discrete Fourier transform for real-valued input to the output of this function must return the original (i.e., non-transformed) input array within numerical accuracy (i.e., ``irfft(rfft(x)) == x``), provided that the transform and inverse transform are performed with the same arguments (axis and and normalization mode) and consistent values for the number of elements over which to compute the transforms.
286+
Applying the one-dimensional inverse discrete Fourier transform for real-valued input to the output of this function must return the original (i.e., non-transformed) input array within numerical accuracy (i.e., ``irfft(rfft(x)) == x``), provided that the transform and inverse transform are performed with the same arguments (axis and normalization mode) and consistent values for the number of elements over which to compute the transforms.
287287
288288
Parameters
289289
----------

0 commit comments

Comments
 (0)