Issue Details (XML | Word | Printable)

Key: MATH-248
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Luc Maisonobe
Reporter: Christian Semrau
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Math

Multiplying sparse matrices is slow

Created: 22/Feb/09 07:53 PM   Updated: 23/Apr/09 02:26 AM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: 2.0

Time Tracking:
Not Specified

Resolution Date: 05/Apr/09 04:54 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Luc Maisonobe made changes - 29/Mar/09 05:17 PM
Field Original Value New Value
Fix Version/s 2.0 [ 12312686 ]
Assignee Luc Maisonobe [ luc ]
Luc Maisonobe made changes - 05/Apr/09 04:54 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
Henri Yandell made changes - 23/Apr/09 02:26 AM
Status Resolved [ 5 ] Closed [ 6 ]