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

Home » Public Forums » archive » Re: Simple question about the '>' sign.
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: Simple question about the '>' sign. [message #69707 is a reply to message #69698] Sat, 30 January 2010 16:25 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
wlandsman writes:

> Just to be clear, that is what the 3 lines of code are doing, so the
> answer is yes,
>
> Y = (B-A*6) > 0
>
> is equivalent to
>
> Y=B - A*6
> index=where( Y lt 0., ct)
> if ct ne 0 then Y[index]=0.

Sorry. Didn't really read the code. Tennis, you know. ;-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Acuirign Images from a Webcam/Windows
Next Topic: Re: IDL make_dll and unresolved externals

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

Current Time: Wed Oct 08 13:37:01 PDT 2025

Total time taken to generate the page: 0.00562 seconds