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

Home » Public Forums » archive » Re: problem with NaN, Inf...
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: problem with NaN, Inf... [message #64732] Thu, 15 January 2009 10:40
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Hu wrote:
> Hi,there
> I got an question like this:
>
> f=1.0 / 0
> n=sqrt(-8)
> x=[1,2,3,f,5,n,7]
>
> how can I pick up elements f and n? so that I can set them as linear
> interpolation value 4 and 6 ?
> Thanks

invalidIDX = where(finite(x) eq 0)
[Message index]
 
Read Message
Previous Topic: problem with NaN, Inf...
Next Topic: polyfill pattern transparent

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

Current Time: Sat Oct 11 14:19:46 PDT 2025

Total time taken to generate the page: 0.16468 seconds