commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc Maisonobe (JIRA)" <>
Subject [jira] Resolved: (MATH-248) Multiplying sparse matrices is slow
Date Sun, 05 Apr 2009 16:56:12 GMT


Luc Maisonobe resolved MATH-248.

    Resolution: Fixed

fixed in subversion repository as of r762117
thanks for the report

> Multiplying sparse matrices is slow
> -----------------------------------
>                 Key: MATH-248
>                 URL:
>             Project: Commons Math
>          Issue Type: Improvement
>            Reporter: Christian Semrau
>            Assignee: Luc Maisonobe
>            Priority: Minor
>             Fix For: 2.0
> The multiplication of sparse real matrices is very slow compared to real matrices: Ten
times as slow for size 200, four times as slow for size 400. The time is independent of the
number of nonzero entries, because the general algorithm inherited from AbstractRealMatrix
is used. I suggest using a specialized multiplication algorithm for matrices that are "sparse
enough", walking only over the nonzero entries in one of the matrices.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message