-
Notifications
You must be signed in to change notification settings - Fork 51
FFT: Support arbitrary sized vectors using Bluestein's algorithm #77
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
Comments
This comment was marked as outdated.
This comment was marked as outdated.
... okay this may be pretty easy actually. I found this, and this could be as easy as copy/pasting it in. It looks to be under a MIT license: https://www.nayuki.io/res/free-small-fft-in-multiple-languages/Fft.cs |
addresses #77 future work is needed to add this to the main API and take over when FFT is given data with a length that is not a power of 2
This needs more work so I'm leaving it in the // this will work when I publish the new package in a few minutes
double[] prime = { 1, 2, 3, 4, 5, 6, 7 };
System.Numerics.Complex[] result = FftSharp.Experimental.Bluestein(prime); |
tks a lot @swharden, we can catch up on this at a later time. |
It's been a while since this was discussed, but today I'm moving this code to: FftSharp.Bluestein.Forward();
FftSharp.Bluestein.Inverse(); |
could be based on mathnet-numerics implementation:
https://github.com./mathnet/mathnet-numerics/blob/master/src/Numerics/Providers/FourierTransform/ManagedFourierTransformProvider.Bluestein.cs#L252
The text was updated successfully, but these errors were encountered: