-
To convert arrayfire array in C++ from f64 to i32, we could simply use as(i32). What is the equivalent method in rust version? // Example, double precision array // Cast to an i32 array |
Beta Was this translation helpful? Give feedback.
Answered by
3togo
Aug 31, 2022
Replies: 1 comment 1 reply
-
I guess it should be |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
3togo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I guess it should be
A_double.cast::();