Thread Subject: speed of matlab sparse against c++ sparse librariers

Subject: speed of matlab sparse against c++ sparse librariers

From: A B

Date: 26 Feb, 2009 22:00:04

Message: 1 of 1

Hi,

I need to have a very solver for my FEM software.
For prototyping I've written all code in MATLAB and it's already quiet fast, however I want to have more performance.

Now I consider rewriting the solver in C++ with sparse matrix libraries as MTL.
Therefore I wondered what the performance gain of using a C++ sparse library over MATLAB would be. Will it be about the same, twice as fast etc.?

I'm just interested in performing some sparse matrix multiplications (nxn with n~30 000) and solve the system with preconditioned conjugate gradients. I'm not worried about the assembly of the FEM matrices.

Thanks a lot

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
sparse matrix A B 28 Feb, 2009 05:18:27
rssFeed for this Thread

Contact us at files@mathworks.com