>  Docs Center  >  Libraries  >  JHU/APL/S1R  >  NGROUPS

NGROUPS

NGROUPS

Name


      NGROUPS

Purpose


      Gives # of groups of identical elements in given array.'

Category


Calling Sequence


      n = ngroups(a)

Inputs


      a = array to process. in

Keyword Parameters


Keywords


        START=strt Start indices for all groups.
        LENGTH=len Lengths of all groups.

Outputs


      n = number of groups in a. out

Common Blocks


Notes


      Note: see getgroup.

Modification History


      R. Sterner, 1999 Aug 02
      R. Sterner, 2010 Jun 07 --- Converted arrays from () to [].
  Copyright (C) 1999, Johns Hopkins University/Applied Physics Laboratory
  This software may be used, copied, or redistributed as long as it is not
  sold and this copyright notice is reproduced on each copy made. This
  routine is provided as is without any express or implied warranties
  whatsoever. Other limitations apply as described in the file disclaimer.txt.



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