Skip to content

Commit fd66e44

Browse files
authored
fix input dtype limit
1 parent c0c25a1 commit fd66e44

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/API_specification/array_api/fourier_transform_functions.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def rfft(x: array, /, *, n: Optional[int] = None, axis: int = -1, norm: Literal[
210210
Returns
211211
-------
212212
out: array
213-
an array transformed along the axis (dimension) indicated by ``axis``. The returned array must have a complex floating-point data type determined by :ref:`type-promotion`.
213+
an array transformed along the axis (dimension) indicated by ``axis``. The returned array must have a complex-valued floating-point data type determined by :ref:`type-promotion`.
214214
"""
215215

216216

@@ -224,7 +224,7 @@ def irfft(x: array, /, *, n: Optional[int] = None, axis: int = -1, norm: Literal
224224
Parameters
225225
----------
226226
x: array
227-
input array. Should have a complex floating-point data type.
227+
input array. Should have a complex-valued floating-point data type.
228228
n: int
229229
length of the transformed axis of the **output**. If
230230
@@ -251,7 +251,7 @@ def irfft(x: array, /, *, n: Optional[int] = None, axis: int = -1, norm: Literal
251251
Returns
252252
-------
253253
out: array
254-
an array transformed along the axis (dimension) indicated by ``axis``. The returned array must have a real floating-point data type determined by :ref:`type-promotion`. The length along the transformed axis is ``n`` (if given) or ``2*(m-1)`` otherwise.
254+
an array transformed along the axis (dimension) indicated by ``axis``. The returned array must have a real-valued floating-point data type determined by :ref:`type-promotion`. The length along the transformed axis is ``n`` (if given) or ``2*(m-1)`` otherwise.
255255
"""
256256

257257

@@ -296,7 +296,7 @@ def rfftn(x: array, /, *, s: Sequence[int] = None, axes: Sequence[int] = None, n
296296
Returns
297297
-------
298298
out: array
299-
an array transformed along the axes (dimension) indicated by ``axes``. The returned array must have a complex floating-point data type determined by :ref:`type-promotion`.
299+
an array transformed along the axes (dimension) indicated by ``axes``. The returned array must have a complex-valued floating-point data type determined by :ref:`type-promotion`.
300300
"""
301301

302302

@@ -310,7 +310,7 @@ def irfftn(x: array, /, *, s: Sequence[int] = None, axes: Sequence[int] = None,
310310
Parameters
311311
----------
312312
x: array
313-
input array. Should have a complex floating-point data type.
313+
input array. Should have a complex-valued floating-point data type.
314314
s: Sequence[int]
315315
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
316316
@@ -352,7 +352,7 @@ def hfft(x: array, /, *, n: Optional[int] = None, axis: int = -1, norm: Literal[
352352
Parameters
353353
----------
354354
x: array
355-
input array. Should have a real-valued floating-point data type.
355+
input array. Should have a floating-point data type.
356356
n: int
357357
length of the transformed axis of the **output**. If
358358

0 commit comments

Comments
 (0)