DCL:MATH2:RNMLIB: Moving Average: Explanation of Subroutines
Calculates the moving average. VRRNM performs missing-value handling when the internal variable 'LMISS' handled by GLpGET/GLpSET is .TRUE.; when 'LMISS' is .FALSE., missing -value handling is not performed. VRRNM0 does not perform missing-value handling, while VRRNM1 performs missing value-handling.. The missing-value is set by the internal variable 'RMISS handled by GLpGET/GLpSET.
CALL VRRNM(RX,RY,N,JX,JY,NB)
CALL VRRNM0(RX,RY,N,JX,JY,NB)
CALL VRRNM1(RX,RY,N,JX,JY,NB)
RX (R) The floating-point array for calculating the moving average. RY (R) An floating-point array for storing the calculation results. N (I) The number of array elements to process. JX, JY (I) The interval of the array elements to process for arrays RX and RY. NB (I) The length of data to calculate the moving average.