comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Sparse matrix algorithms
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Sparse matrix algorithms [message #28288 is a reply to message #28281] Fri, 30 November 2001 03:54 Go to previous messageGo to previous message
the_cacc is currently offline  the_cacc
Messages: 104
Registered: October 2001
Senior Member
Hi,

I had this experience a few weeks ago. The NR code is for NxN only so
I doubt IDL will generalize to NxM on their own. I wrote to NR
suggesting they publish NxM sparse algorithms and they gave a very
positive response so expect them to be available next edition of the
book.

In the meantime, the penalty for expanding your NxM to MxM (assuming
M>N) in sparse format is M-N additional zeros (ie. those on the
diagonal). I found this quite acceptable for my matrices: 64000 x
128000 with around 10^6 non-zero entries. So I have to store 64000
zeros unnecessarily.

You will have to write your own version of sprsin to deal with this,
although since you probably won't be able to store your full matrix in
memory you'll need to do this anyway.

Ciao.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: How to know where IDL found the source of one procedure?
Next Topic: Re: IDL Shapefile Object

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 14:45:26 PDT 2025

Total time taken to generate the page: 1.43165 seconds