How to add two columns? #349
newtonharry
started this conversation in
General
Replies: 1 comment 1 reply
-
Does this do what you expect? let mut acc: CsVec<i64> = CsVec::empty(matrix.rows());
for col_vec in matrix.outer_iterator() {
acc = acc + col_vec;
} There is no |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Sorry for the simple question, but I'm having a hard time trying to add two columns in a csc matrix. Here is my current naive approach as I'm having a hard time trying to understand the API:
Beta Was this translation helpful? Give feedback.
All reactions