Open wgurecky opened 9 months ago
I would be interested as well in something like this but I think it is something more to do with how this implemented in the crate used for type conversion from and to Numpy arrays.
As stated in the introduction to their docs this is something that has been somehow implemented for the nalgebra
crate by implementing the ToPyArray
trait. I guess something similar could probably be done for faer
.
Currently my pyO3 bindings that call some rust routines that use faer look something like:
I'm unsure if I am using the best approach.
Desired Solution: