Skip to content
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/array_api_stubs/_draft/elementwise_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def conj(x: array, /) -> array:
Parameters
----------
x: array
input array. Should have a complex floating-point data type.
input array. Must have a numeric data type.

Returns
-------
Expand All @@ -879,6 +879,8 @@ def conj(x: array, /) -> array:
Notes
-----

- Whether or not the returned array and the input array share the same underlying memory is unspecified and thus implementation-defined.

.. versionadded:: 2022.12
"""

Expand Down Expand Up @@ -2346,7 +2348,7 @@ def real(x: array, /) -> array:
Parameters
----------
x: array
input array. Should have a complex floating-point data type.
input array. Must have a numeric data type.

Returns
-------
Expand All @@ -2356,6 +2358,8 @@ def real(x: array, /) -> array:
Notes
-----

- Whether or not the returned array and the input array share the same underlying memory is unspecified and thus implementation-defined.

.. versionadded:: 2022.12
"""

Expand Down
Loading