mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

analysis/

mg_range.pro


Routines

top mg_range

result = mg_range(arr)

Convenience function to compute the minimum and maximm value of an array.

Return value

fltarr(2)

Parameters

arr in required type=any numeric array

variable to compute min/max range of

Examples

For example, find the minimum and maximum values of 10 random values:

IDL> print, mg_range(randomu(0L, 10)) 0.0668422 0.930436

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 4
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.