Our next operation on this bad boy is:"D) Consider dense matrices
If I change the above example to use a dense matrix instead (after all such a 100M cell matrix still fits into memory easily):
let dense = new DenseMatrix(10500,10500)for row in 0..999 dofor col in 0..999 dodense.At(10*row, 10*col, float32 (Math.Atan2(float row, float col)))dense.At(2+10*row, 3+10*col, float32 (row+col))then the example runs in less than a second. However, any operation on that matrix would obviously then be very inefficient, but it depends what you actually want to do with it."
Thanks a bunch, Christoph.We'll look at this and let you know what we come up with.Yvonne--On Tue, Nov 27, 2012 at 6:02 AM, cdrnet <notifications@codeplex.com> wrote:From: cdrnet
Quick note: we currently have a [url:pull request|https://github.com/mathnet/mathnet-numerics/pull/58] open for an alternative sparse storage scheme (based on Knuth) that might be much more efficient in this scenario, since it seems to avoid almost all copying in this case. Might be worth to give it a trial.
Thanks,
ChristophRead the full discussion online.
To add a post to this discussion, reply to this email (mathnetnumerics@discussions.codeplex.com)
To start a new discussion for this project, email mathnetnumerics@discussions.codeplex.com
You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.
Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com
--Yvonne BurgessChief Systems Architect
Climate Earth, Inc.
415.391.2725 (office)
415.816.2674 (mobile)
www.climateearth.comWatch our webcast: Orientation to the GHG Protocol's Scope 3 Standard
Climate Earth, Inc.
415.391.2725 (office)
415.816.2674 (mobile)
www.climateearth.com