RANGEOF
This function returns the range (i.e., the minimum and maximum value) of its argument.
FANNING SOFTWARE CONSULTING David Fanning, Ph.D. 1645 Sheely Drive Fort Collins, CO 80526 USA Phone: 970-221-0438 E-mail: david@idlcoyote.com Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Utilities
range = RangeOf(variable)
variable: Any numeric IDL variable, except complex.
None.
range: A two-element vector containing the minimum and maximum value of the variable.
x = RandomU(3L, 10) * 100 Print, RangeOf(x) 3.78892 98.4703
Written by: David W. Fanning, 15 February 2009.