10-23-2008 01:05 PM
I guess I don't understand how to use the array functions to count the number of non-zero array elements.
Do you have to put the array (2D) through two For loops to access each element or is there some matrix math type function that would do that...?
10-23-2008 01:10 PM
10-23-2008 01:12 PM
Sorry about that...but the original thread is marked solved...and no one viewed the additional question.
I have an array. I would like to know how many non-zero elements there are in the array. Is there a "nifty" way to do that other than just scanning all the elements of the array?
Thanks.
10-23-2008 01:18 PM