Skip to content
Merged
Changes from 2 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
12 changes: 10 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. Should have a floating-point data type.

Returns
-------
Expand All @@ -880,6 +880,10 @@ def conj(x: array, /) -> array:
-----

.. versionadded:: 2022.12

A conforming implementation may return a "view" into the input array or a copy. Therefore, whether
the output array and the input array share the underlying memory buffer is unspecified and
thus implementation-defined.
"""


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

Returns
-------
Expand All @@ -2357,6 +2361,10 @@ def real(x: array, /) -> array:
-----

.. versionadded:: 2022.12

A conforming implementation may return a "view" into the input array or a copy. Therefore, whether
the output array and the input array share the underlying memory buffer is unspecified and
thus implementation-defined.
"""


Expand Down
Loading