Re: [math] Faster getSubMatrix in Array2DRowRealMatrix

2016-10-10 Thread Christoph Dibak
Hi Emmanuel, On 10/10/2016 10:25 AM, Emmanuel Bourg wrote: > Do you know if using System.arraycopy is always faster than the > current method, or is there a threshold where it becomes slower? I checked different sizes of the sub-matrices and attached the code for the evaluation to the bug report

[math] Faster getSubMatrix in Array2DRowRealMatrix

2016-10-10 Thread Christoph Dibak
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