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

Home » Public Forums » archive » Re: adding sparse arrays
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: adding sparse arrays [message #54304 is a reply to message #54303] Thu, 07 June 2007 00:30 Go to previous messageGo to previous message
Gaurav is currently offline  Gaurav
Messages: 50
Registered: January 2007
Member
Yes, since IDL is an array based language, if you use simple summation
procedure to add two arrays (like A + B, where A and B are arrays), it
would be normally faster than running loops for the arrays and then
adding the elements.

Still if you care to find which are the relevent elements in the
sparse array, you could create a mask of those elements using WHERE
command in IDL.

Hope this answers your query.

Cheers!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Executable files
Next Topic: scaling idlGrAxis ticks?

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

Current Time: Fri Oct 10 07:20:22 PDT 2025

Total time taken to generate the page: 0.64310 seconds