-
Notifications
You must be signed in to change notification settings - Fork 4
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
Convolution #6
Comments
It would definitely be nice to have this as an example! Would you mind opening a PR? Then we can discuss the implementation details there, which is better suited to comment on specific lines 😁 I would go as far as saying that if you have a complete port of |
I believe we can do much more in |
Hi @tanmay2004, I'd be very happy for you to work on this. Feel free to add to my PR, and let me know if you'd like help with anything. I haven't used |
Hi!
Not sure if there's a better place for this, so please let me know if I'm out of line.
I'm (slowly) trying to port an existing python package of mine to rust. One of the first stumbling blocks was the (apparent) lack of a convolution function available in various rust libraries. Below is my solution.
(Also, I believe that using ffts for convolution is better only when the data is sufficiently big, so I'm interested in the naive method).
This probably could be better; any suggestions are welcome. I have no idea how to generalise this for higher dimensional arrays, so that's also a consideration. I'd be happy to put this into a PR if it's suitable somewhere.
The text was updated successfully, but these errors were encountered: