Hey, Why does Matrix.getNumNondefaultElements() return an int[2] containing the numbers of rows and numbers of columns with non-default elements? I would expect it to return just an int containing the actual number of non-default elements. From the number of rows and columns I think one can do nothing except derive an upper limit of the total number as numRows*numCols. If a user of Matrix wants to know the actual total number of non-default elements, I think currently he/she would have to iterate the whole matrix and count him-/herself. It seems like the currently implemented version is used nowhere, the only reference I've found is testSize(), which tests that method.
So can I go ahead and change the interface and the implementations to return the actual number of non-default elements? Thanks, Alex
