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

Home » Public Forums » archive » Simple questions
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
Simple questions [message #2851] Fri, 23 September 1994 14:36
mcook is currently offline  mcook
Messages: 12
Registered: March 1994
Junior Member
I have a couple of recurrent problems with IDL that I was
hoping somebody could set me straight on. I seem to be
getting into a situation where I'll ask for a calculation
and the variable will be represented as an array instead
of a scalar. This causes some of the IDL routines to die.
I'm not sure where in the code this occurs at, but can't
IDL just take the single element value as the scalar?
A 1-dim vector should be treated as a scalar. Since
there is no way I can figure out where something becomes
a vector rather than a scalar in my operations, does this
mean I have to write extra code to handle conversions?
How do I know what or where to write it? This would be
ludicrous, so I must be wrong somewhere.

The other recurrent problem is an out-of-space (memory)
problem. How can I clear away any matrices I don't want
around anymore to free up space?

There are some things I like that IDL has over MATLAB
(more than 2 D), but these two are no problem with MATLAB.
It's gotta be my understanding of IDL.

Thanks,
Mark Cook
mcook@lobby.ti.com
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Grid points w/in contours ?
Next Topic: Fitting several Gaussians

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

Current Time: Sat Oct 11 08:07:52 PDT 2025

Total time taken to generate the page: 1.20048 seconds