dpilger26 / NumCpp

C++ implementation of the Python Numpy library
https://dpilger26.github.io/NumCpp
MIT License
3.52k stars 547 forks source link

FFT function #137

Open mauricewells opened 2 years ago

mauricewells commented 2 years ago

hello, there does NumCpp contain FFT function?

mauricewells commented 2 years ago

in general, numpy contains FFT function in python so i guess FFT function will be inside NumCpp library, is that right?

dpilger26 commented 2 years ago

No it does not currently, but I do have it on my list to include in the next release.

haochunchang commented 2 years ago

Hi, I am interested in contributing this great library. I am wondering how can I help on this specific issue?

From numpy, the implementation is located in: https://github.com/numpy/numpy/blob/50a74fb65fc752e77a2f9e9e2b7227629c2ba953/numpy/fft/_pocketfft.py#L211 https://github.com/numpy/numpy/blob/50a74fb65fc752e77a2f9e9e2b7227629c2ba953/numpy/fft/_pocketfft.py#L49, and further https://github.com/numpy/numpy/blob/50a74fb65fc752e77a2f9e9e2b7227629c2ba953/numpy/fft/_pocketfft.c#L2337

Hope it helps.

phuchm commented 2 weeks ago

@dpilger26 Is there any updates about this? I'm also curious about FFT in C++