You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2016/10/12 11:58:20 UTC
[jira] [Resolved] (MATH-1389) Runtime Improvement for getSubMatrix
in Array2DRowRealMatrix
[ https://issues.apache.org/jira/browse/MATH-1389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bourg resolved MATH-1389.
----------------------------------
Resolution: Fixed
Fix Version/s: 3.7
4.0
I applied the patch on the 4.x and 3.x branches (with a minor optimization for the instantiation of the sub matrix). Thank you very much Christoph!
> Runtime Improvement for getSubMatrix in Array2DRowRealMatrix
> ------------------------------------------------------------
>
> Key: MATH-1389
> URL: https://issues.apache.org/jira/browse/MATH-1389
> Project: Commons Math
> Issue Type: Improvement
> Reporter: Christoph Dibak
> Priority: Trivial
> Fix For: 4.0, 3.7
>
> Attachments: 0001-faster-getSubMatrix-for-Array2DRowRealMatrix.patch, MatrixBenchmark.java, RuntimeTestGetSubMatrix.java
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)