-
Notifications
You must be signed in to change notification settings - Fork 105
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
Apply numpy ufunc to &mut Vec
in rust heap
#221
Comments
I guess you are asking specifically if this can be done without copying the values into a NumPy array and then back into the |
Indeed. :) Yes all 1D contiguous data. |
I thought about this and I am sceptical that it is possible with a safe API. While we could |
Would it be possible to accept any numpy ufunc as
&PyAny
and apply that to a mutable vec allocated in Rust?The text was updated successfully, but these errors were encountered: