Skip to content
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

Interface: add support for mathematical special functions (real inputs only) #297

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kennykos
Copy link
Contributor

Add support for mathematical special functions defined in the header https://github.com/kokkos/kokkos/blob/9fa2a01747f0a30ca2723c8d7d0a22c95a05717a/core/src/Kokkos_MathematicalSpecialFunctions.hpp#L4.

The bessel functions pk.cyl_bessel_XX() are only supported for real data types as complex numbers are not yet supported in pykokkos.

kennykos added 2 commits December 18, 2024 11:27
Special functions defined in https://github.com/kokkos/kokkos/blob/9fa2a01747f0a30ca2723c8d7d0a22c95a05717a/core/src/Kokkos_MathematicalSpecialFunctions.hpp#L445

List of special functions:
* expint1
* erfcx
* cyl_bessel_j0
* cyl_bessel_y0
* cyl_bessel_i0
* cyl_bessel_k0
* cyl_bessel_j1
* cyl_bessel_y1
* cyl_bessel_i1
* cyl_bessel_k1
* cyl_bessel_h10
* cyl_bessel_h11
* cyl_bessel_h20
* cyl_bessel_h21
@kennykos
Copy link
Contributor Author

kennykos commented Dec 18, 2024

This should close #296.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant