Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


  >  Docs Center  >  Libraries  >  JBIU  >  MINFINITE

MINFINITE

MINFINITE

Name


    MINFINITE

Purpose


    Calculate the minimum non-zero value of an array.

Category


    Math

Calling Sequence


    Result = MINFINITE(X, [Index])

Inputs


    X: Array

Optional Outputs


    Index: The index of the minimum value.

Outputs


    A scalar containing the minimum non-zero value of X. If there
    are none, returns 0.

Example


    IDL> a = [1, 0, 2]
    IDL> print, MINFINITE(a, i)
          1
    IDL> print, i
              0

Modification History


    Written by: Jeremy Bailin
    17 May 2011 Initial writing



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