|
join_many requires the use of Can the array be joined from |
Answered by
9prady9
Sep 11, 2022
Replies: 1 comment 6 replies
|
@3togo Perhaps join_many macro is what you are looking for ? It takes care of creating the vector out of The reason most APIs of arrayfire-rust crate have |
6 replies
Answer selected by
3togo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@3togo Perhaps join_many macro is what you are looking for ? It takes care of creating the vector out of
Arrayreferences and passing it down tojoinfunction for you.The reason most APIs of arrayfire-rust crate have
Array&as arguments to enable reuse of the same memory for multiple operations. Otherwise, Array would be consumed by the first join_many and the original array can't be reused without a clone operation which is not free of cost always.