Open bigerl opened 7 years ago
I completely agree. However, it's difficult to iterate over multidimensional sparse matrices an efficient way. That's why it's not implemented yet.
There are also many instances where annotation is not modified accordingly when functions are executed which change the size of a matrix.
I believe this issue will remain open for a longer time...
The current implementation doesn't support select on sparse non-2D-matrices. This limits the usability of 3 and higher dimensional matrices significantly.
The following test code illustrates the problem:
This code throws a RuntimeException("only supported for 2d matrices") at org.ujmp.core.objectmatrix.calculation.Selection.createAnnotation():82. The whole method createAnnotation() is widely commented out. If I comment line 82 out that throws the exception the both programs runs but returns false results.
With select on sparse 3D+ matrices ujmp would be awesome. :)