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


  >  Docs Center  >  Libraries  >  Beaumont  >  RANK

RANK

RANK

Purpose


  This function computes the rank of each element in a data set. By default,
  The rank 0 element is the smallest element, the rank 1 element is
  second smallest, etc. If decrease keyword is set, the rank 0 element is
  the largest element.

Inputs


  data: An array of numbers

Outputs


  An array the same size as data, giving the rank of each element.

Keywords


  decrease: set it if ranked in decrease order.

Modification History


  2010-08-03: Written by Chris Beaumont



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