Hi all, I used the Apache Commons Math library in a project where I had to create a lot of sub-matrices of Array2DRowRealMatrix. Analyzing the runtime, I found that getSubMatrix could be implemented much more efficient using System.arraycopy. You can find the patch that speeds-up the runtime for creating a sub-matrix from even a relatively small 50x50 matrix by 16 times here:
https://issues.apache.org/jira/browse/MATH-1389 The patch passes the existing unittests. Best Regards, Christoph -- Dipl.-Inf. Christoph Dibak phone : +49 711 685 88254 www : http://www.ipvs.uni-stuttgart.de/?id=Christoph.Dibak --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
