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

Home » Public Forums » archive » where and NAN numbers
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
where and NAN numbers [message #42160] Wed, 12 January 2005 04:02
euskalmet07 is currently offline  euskalmet07
Messages: 1
Registered: January 2005
Junior Member
Hi dear IDL user,

Maybe my question is too obvious, but I can�t guess the response.

Having the vector:

IDL> u = [!values.f_nan, 1, 2, 3]

why is different the resulting vector in these following two WHERE functions?

IDL> print, where(u eq 3)
0 3
% Program caused arithmetic error: Floating illegal operand

IDL> print, where(u ge 3)
3
% Program caused arithmetic error: Floating illegal operand


Any response would be appreciated.
[Message index]
 
Read Message
Previous Topic: First catch of the day
Next Topic: DIALOG_PICKFILE Questions in IDL 6.1

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

Current Time: Sat Oct 11 05:16:45 PDT 2025

Total time taken to generate the page: 0.99226 seconds