You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Computes the one-dimensional inverse of ``rfft`` for complex-valued input.
282
+
Computes the one-dimensional inverse of ``rfft`` for real-valued input.
283
283
284
284
.. note::
285
285
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 length.
286
286
287
287
Parameters
288
288
----------
289
289
x: array
290
-
input array. Should have a complex-valued floating-point data type.
290
+
input array. Must have a real-valued floating-point data type.
291
291
n: int
292
292
length of the transformed axis of the **output**. If
Computes the n-dimensional inverse of ``rfftn`` for complex-valued input.
391
+
Computes the n-dimensional inverse of ``rfftn`` for real-valued input.
392
392
393
393
.. note::
394
394
Applying the n-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., ``irfftn(rfftn(x)) == x``), provided that the transform and inverse transform are performed with the same arguments (axes and normalization mode) and consistent sizes.
395
395
396
396
Parameters
397
397
----------
398
398
x: array
399
-
input array. Should have a complex-valued floating-point data type.
399
+
input array. Must have a real-valued floating-point data type.
400
400
s: Sequence[int]
401
401
size of each transformed axis of the **output**. ``n=s[i]`` is also the number of input points used along the axis (dimension) ``i``, except for the last axis, where ``n=s[-1]//2+1`` points of the input are used. If
0 commit comments