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

Home » Public Forums » archive » Arrays with NaN values
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Arrays with NaN values [message #41287] Sat, 02 October 2004 21:49 Go to next message
julio is currently offline  julio
Messages: 31
Registered: December 2003
Member
Hi!

I need to manipulate arrays with some NaN values inside. How can I put
zero values in the place of the NaN values??

Cheers,
Julio
Re: Arrays with NaN values [message #41343 is a reply to message #41287] Tue, 05 October 2004 18:21 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
Paul Van Delst wrote:
> Mark Hadfield wrote:
>>
>> In IDL 6.0 the logical not operator, "~" operator was introduced to
>> avoid this problem,
>
>
> Man, the C-loving types really did a number on IDL. RSI musta hired a
> boatload of CS grads from the same school or something to implement the
> OO stuff. :o) [and, just in case anyone is irony impaired, yes, I am
> kidding]
>
> I realise "~" is a complement operator but when I look at the code
> above, I think "where the elements of IMAGE are *approximately* finite"
> ..... huh?
>
> Gosh, I have that old'n'crusty feeling coming on again. Back to DF's
> blog for some restorative therapy......

You && me both.

--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: General 3D graphics advise required
Next Topic: Re: General 3D graphics advise required

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

Current Time: Sat Oct 11 03:36:08 PDT 2025

Total time taken to generate the page: 1.12237 seconds