8000 Add complex number support to `exp` by kgryte · Pull Request #451 · data-apis/array-api · GitHub
[go: up one dir, main page]

Skip to content

Add complex number support to exp #451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 7, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add note concerning complex conjugation
  • Loading branch information
kgryte committed Jun 13, 2022
commit f84e176d14eb0f62d28becb873585711c6f0f9e6
3 changes: 3 additions & 0 deletions spec/API_specification/array_api/elementwise_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,9 @@ def exp(x: array, /) -> array:
.. note::
The exponential function is an entire function in the complex plane and has no branch cuts.

.. note::
For complex floating-point operands, ``exp(conj(x))`` must equal ``conj(exp(x))``.

Parameters
----------
x: array
Expand Down
0