5.0

5.0 | 1 rating Rate this file 2 Downloads (last 30 days) File Size: 2.75 KB File ID: #25253

SpTriSolve

by Haim Avron

 

07 Sep 2009 (Updated 06 Jan 2011)

Sparse triangular solve

| Watch this File

File Information
Description

Implements sparse triangular solve as a MEX function, thus is much faster than \. Useful for iterative methods (to apply a factored preconditioner).

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
26 Jan 2011 Stefan

Thanks a lot, this function does a great job! The sptrisolve function is really much faster than the \. I observed a speedup factor of 7 for my ILU-preconditioned BiCG method and a factor of 4.7 in case of ILU-preconditioned BiCGSTAB. Now preconditioning not only reduces the number of iterates, but also computing time.

Please login to add a comment or rating.
Updates
08 Sep 2009

Removed binary .mexw32

04 Jan 2011

Now works with -largeArryDims (required on 64-bit machines).

06 Jan 2011

More bug fixes.

Tag Activity for this File
Tag Applied By Date/Time
numerical linear algebra Haim Avron 08 Sep 2009 16:54:20
sparse matrix Haim Avron 08 Sep 2009 16:54:21
linear system solve Haim Avron 08 Sep 2009 16:54:21

Contact us at files@mathworks.com