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

Home » Public Forums » archive » Where the heck is the IDL Virtual Machine?
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
Where the heck is the IDL Virtual Machine? [message #63078] Tue, 28 October 2008 12:29
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

Does anyone here know how to access and download the IDL
Virtual Machine? I gave some software to some colleagues
to run on the Virtual Machine and neither they nor I can
find the darn thing. A search of "IDL Virtual Machine" on
the ITTVIS home page turns up nothing useful. And when I
finally got to the IDL Download page, where I was told
this was located, I turned up nothing there, either.

Has anyone ever downloaded the thing!?

Cheers,

David
--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Where [message #63084 is a reply to message #63078] Tue, 28 October 2008 10:28 Go to previous message
Brian Larsen is currently offline  Brian Larsen
Messages: 270
Registered: June 2006
Senior Member
On Oct 28, 5:48 am, silviad...@gmail.com wrote:
> Hallo!
> Why IDL returns -1 when i do:
> where(array eq 0.785)?
> Array elements are not zero!
> Thank you!

This is the as advertised behavior, -1 is the index that matches your
query (meaning none match)

Try this for some insight
a=findgen(10)
ind=where(a eq 2.4, n_ind)
print, a, ind

and you get -1, 0. Meaning no elements in a are equal to 2.4 since
they are 0,1,2,3,4,5,6,7,8,9.

Make sense?



Cheers,

Brian

------------------------------------------------------------ --------------
Brian Larsen
Boston University
Center for Space Physics
http://people.bu.edu/balarsen/Home/IDL
Re: Where [message #63093 is a reply to message #63078] Tue, 28 October 2008 05:35 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Carsten Lechte writes:

> Does your array have a 0.785 in it?
>
> If you think it has, maybe http://www.dfanning.com/math_tips/sky_is_falling.html
> will be of help.

I was poking around that web page the other day and discovered
a program named FLOATS_EQUAL that Coyote must have written,
because I sure don't remember doing it. But it was exactly
what I needed for the task at hand. You might have a look:

http://www.dfanning.com/programs/floats_equal.pro

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.")
Re: Where [message #63097 is a reply to message #63078] Tue, 28 October 2008 03:12 Go to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
silviadncl@gmail.com wrote:
> Why IDL returns -1 when i do:
> where(array eq 0.785)?

Does your array have a 0.785 in it?

If you think it has, maybe http://www.dfanning.com/math_tips/sky_is_falling.html
will be of help.


chl
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: matrix multiplication
Next Topic: Re: Where the heck is the IDL Virtual Machine?

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

Current Time: Wed Oct 08 17:29:14 PDT 2025

Total time taken to generate the page: 0.00543 seconds