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

NRUNS

NRUNS

Name


      NRUNS

Purpose


      Gives # of runs of consecutive integers in given array.'

Category


Calling Sequence


      n = nruns(w)

Inputs


      w = output from where to process. in

Keyword Parameters


Keywords


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

Outputs


      n = number of runs in w. out

Common Blocks


Notes


      Note: see getrun.

Modification History


      R. Sterner, 1990
      R. Sterner, 12 Aug, 1993 --- minor simplification.
      R. Sterner, 19 Mar 1996 --- Returned all run lengths and starts.
      R. Sterner, 2010 Jun 07 --- Converted arrays from () to [].
  Copyright (C) 1990, 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