>  Docs Center  >  Libraries  >  Coyote  >  RANGEOF

RANGEOF

RANGEOF

Name


  RANGEOF

Purpose



  This function returns the range (i.e., the minimum and maximum value)
  of its argument.

Author



  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/

Category



  Utilities

Calling Sequence



  range = RangeOf(variable)

Inputs



  variable: Any numeric IDL variable, except complex.

Keyword Parameters



  None.
 

Outputs



  range: A two-element vector containing the minimum and maximum value
                of the variable.

Example



  x = RandomU(3L, 10) * 100
  Print, RangeOf(x)
        3.78892 98.4703

Modification History



  Written by: David W. Fanning, 15 February 2009.



© 2019 Harris Geospatial Solutions, Inc. |  Legal
My Account    |    Store    |    Contact Us