Use to_pyarray with nalgebra #487
-
Hi, I found that ToPyArray trait was implemented for nalgebra Matrix, but I can't seem to make it work. The to_pyarray method isn't recognized on Matrix3 of nalgebra. Do I need to make somethings specific ? (I have nalgebra==0.33.2, numpy==0.24.0) I'm relatively new to rust, so a working example would be welcome (transfert a nalgebra Matrix to Python). |
Beta Was this translation helpful? Give feedback.
Answered by
MathieuFonsProjects
Apr 2, 2025
Replies: 1 comment
-
Just found that I need to tell him { version="0.24.0", features=["nalgebra"] } in the Cargo.toml... Sorry for the ping |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MathieuFonsProjects
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Just found that I need to tell him { version="0.24.0", features=["nalgebra"] } in the Cargo.toml... Sorry for the ping