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

Home » Public Forums » archive » Re: Data elimination from array
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: Data elimination from array [message #51941 is a reply to message #51795] Fri, 08 December 2006 12:45 Go to previous message
Braedley is currently offline  Braedley
Messages: 57
Registered: September 2006
Member
Except that it doesn't work. No, the proper way of doing this is
gratuitous use of array juggling.

n=block_size
m=number_of_blocks_per_separate_array
array=randomu(seed, n*m*4)
array=reform(temporary(array), n, 4, m)
array1=reform(array[*, 0, *], n*m)
array2=reform(array[*, 1, *], n*m)
array3=reform(array[*, 2, *], n*m)
array4=reform(array[*, 3, *], n*m)

David or JD, feel free to suggest improvements on this (like further
juggling to help save time).

Cheers
Braedley

Wox wrote:
> Too slow again :-).
> Ok, forget about it, mgalloy's solution is much better :-).
>
> On Fri, 08 Dec 2006 19:36:37 +0100, Wox <nomail@hotmail.com> wrote:
>
>> Maybe this?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Average over odd/even lines
Next Topic: IDLWAVE (Mac) launching IDL as PPC rather than Intel

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

Current Time: Fri Oct 10 22:36:41 PDT 2025

Total time taken to generate the page: 0.64097 seconds