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

Home » Public Forums » archive » Re: How to do a "match merge"?
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: How to do a "match merge"? [message #27593 is a reply to message #27583] Thu, 25 October 2001 12:53 Go to previous messageGo to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
I am not sure what exactly needs to be done. Something like

segment = {seg:0, piece:0, rotation:0.0, length:0.0}
segments = Replicate(segment, 2000)

segments.seg = indgen(2000)
segments[where(segments.seg gt 100)].length = the_Length
help, where(segments.seg gt 2 and segments.length lt the_Length)

?
Hope this helps.
Pavel

Joe Means wrote:

> ;then I calculate length for each segment and put those values in a
> vector array whose index is equal to segment-1, so each length can be
> easily matched to each segment. My question is can I effeciently
> match the length values into the structure for each piece without
> looping?>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 5.5 jpeg and tiff
Next Topic: idlwave help

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

Current Time: Sat Oct 11 15:51:58 PDT 2025

Total time taken to generate the page: 2.08155 seconds