Re: sparsab, sparsax and complex arrays [message #53624] |
Fri, 20 April 2007 01:41  |
Paolo Grigis
Messages: 171 Registered: December 2003
|
Senior Member |
|
|
Hint: matrix multiplication is distributive, i.e. A*(B+C)=A*B+A*C.
Ciao,
Paolo
Graham Carver wrote:
> Hello everyone
>
> I'm quite new to IDL and have recently been experimenting with the
> SPRSAB and SPRSAX functions. They work quite nicely with real matrices
> - I note, however, from the IDL help pages that (quote):"If SPRSAB is
> complex then only the real part is used for the computation." The same
> is written in the notes on the SPRSAX function. As I would really like
> to write some routines which can handle complex matrices, I was
> wondering whether anyone out there knows of a workaround so that I can
> use the sparse-array routines with complex numbers. Many thanks for
> any help you can offer this IDL newbie.
>
> Graham Carver
>
|
|
|
|