Metadata-Version: 2.3
Name: numba-ufunc-hooks
Version: 0.0.1
Summary: Numba hooks to NumPy ufuncs
Author: Simon Perkins
Author-email: Simon Perkins <simon.perkins@gmail.com>
Requires-Dist: numpy>=2.0.0
Requires-Dist: numba
Requires-Python: >=3.11
Description-Content-Type: text/x-rst

Numba hooks to NumPy ufuncs
===========================

This repository contains some hooks to NumPy ufuncs. Currently it provides overloads for:

- ``np.fft.fft``
- ``np.fft.ifft``
- ``np.fft.rfft``
- ``np.fft.irfft``

allowing the following in a numba kernel


.. code-block:: python

  @numba.njit(nogil=True)
  def fn(a):
    return np.fft.fft(a)
