commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <>
Subject [jira] [Resolved] (MATH-952) Array2DRowMatrix#copySubMatrix could be improved for performance
Date Thu, 21 Mar 2013 22:01:15 GMT


Thomas Neidhart resolved MATH-952.

    Resolution: Not A Problem

Not really a problem. Array2DRowRealMatrix should only be used for small (64x64) matrices,
thus the benefit of System.arraycopy is not as big as first imagined.
> Array2DRowMatrix#copySubMatrix could be improved for performance
> ----------------------------------------------------------------
>                 Key: MATH-952
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Thomas Neidhart
>            Priority: Minor
> Currently, the 2 copySubMatrix methods are inherited from AbstractRealMatrix where the
copy is done element by element. In the case of an Array2DRowMatrix this can be significantly
improved by using System.arraycopy similar as the setSubMatrix method already does.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message