Description
Using System.arraycopy() for creating sub-matrices in the getSubMatrix() method of Array2DRowRealMatrix improves the runtime. Tested for a matrix with dimension 50x50, the execution time was 16 times faster.
Using System.arraycopy() for creating sub-matrices in the getSubMatrix() method of Array2DRowRealMatrix improves the runtime. Tested for a matrix with dimension 50x50, the execution time was 16 times faster.