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

Home » Public Forums » archive » array dimensions
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: array dimensions [message #24653 is a reply to message #24591] Mon, 09 April 2001 20:29 Go to previous messageGo to previous message
Richard French is currently offline  Richard French
Messages: 173
Registered: December 2000
Senior Member
Paul van Delst wrote:
>
> IF ( n GT 1 ) THEN SMOOTH( array, n )
>
> ?
That's fine if you want this to be on a single line, but there are
plenty
of times when SMOOTH(array, n) is in a plot command, or in part of a
complex
expression. I think the argument about rebin is exactly similar - of
course,
you can do the checking ahead of time, but who wants to add this check
for every time you do dynamic smoothing? adds lots of unneeded hair to
the code. Smoothing by 1 is not the same as dividing by zero. It is like
convolving with a one-element array, which IDL is perfectly willing to
do
without complaining and dying.

DIck French
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL and DLL under windows
Next Topic: Re: Dual head displays

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

Current Time: Wed Oct 08 17:33:20 PDT 2025

Total time taken to generate the page: 0.00196 seconds