Name of Routine Escapes Me [message #36437] |
Thu, 18 September 2003 13:03 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
Oh, oh. Now in addition to forgetting people's names
(even those I have known for years), I am forgetting
the names of IDL routines. :-(
There is a routine (I've seen it discussed here, in
fact, I swore I would write an article about it so I
could find it on my web page) that works like this.
Given an array of values, and a target value, it tells
you which index in the array (gosh, I even wrote a program
using this, but which one!!!) contains a value closest to
the target value.
I know I could probably write the damn code in five
minutes, but this is really ANNOYING me.
Anyone younger have a clue as to what this routine was
called? You will be forever in my debt. :-)
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|