- #1
hoffmann
- 70
- 0
Hi,
How can I find the following from an array with entries of 0, 1, and >1:
Find the sum of all the entries in the matrix that are not equal to 0.
Find the sum of all the entries in the matrix.
Find the sum of all the zero and 1 entries in the matrix.
How to remove the entries in the matrix that are not equal to 0, one by one.
Thanks!
How can I find the following from an array with entries of 0, 1, and >1:
Find the sum of all the entries in the matrix that are not equal to 0.
Find the sum of all the entries in the matrix.
Find the sum of all the zero and 1 entries in the matrix.
How to remove the entries in the matrix that are not equal to 0, one by one.
Thanks!