AIRES library reference: stmomts.


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 stmomts(stsize, ndata, ld1, stdata)
c
c     Evaluations of means, standard deviations and RMS errors.
c
c     Written by: S. J. Sciutto, La Plata 1996, 1997, 2001.
c
c
c     Arguments:
c     =========
c
c     stsize.......... (input, integer) The number of data samples.
c                      If it is less than 1, no action is taken.
c                      If it is equal to one, RMS errors are set
c                      equal to zero.
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)) Statistical data array.
c                      As input contains the following data:
c                           stdata(1, *) = sums of x
c                           stdata(3, *) = sums of x^2
c                      As output:
c                           stdata(1, *) = 
c                           stdata(2, *) = RMS error of .
c                           stdata(3, *) = Estimator of sigma(x).
c                      Other array elements are not used.
c
c
c<--->


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