AIRES library reference: statupdate.


c
c     Routine directly callable from C/C++ (it could be necessary to
c     append an underscore, "_", to its name depending on the C/C++
c     compiler used).
c
c
      subroutine statupdate(ndata, ld1, stdata)
c
c     Updating a statistical counter.
c
c     Written by: S. J. Sciutto, La Plata 1996, 1997, 2001.
c
c
c     Arguments:
c     =========
c
c     ndata........... (input, integer) The number of data items.
c     ld1............. (input, integer) Leading dimension of array
c                      stdata.
c     stdata.......... (input-output, double precision,
c                      array(ld1, ndata)) The statistical data array.
c                      Elements (1, *) carry the running sums of the
c                      corresponding data item, element (2, *) the
c                      current data items, to use in the update,
c                      elements (3, *) carry the running sum of squares
c                      and elements (4, *) and (5, *) the minimum and
c                      maximum values, respectively. Elements (2, *)
c                      are set to zero to allow count restart.
c
c
c<--->


These pages are maintained by
Sergio J. Sciutto
Back to AIRES library index
Back to AIRES home [HOME]