Please enable JavaScript to view this site.

ESL Documentation

MATHLIB Subroutine

Return the variance of all values in an integer array.

call VARIANCEINT(ARRAY_IV, VARIANCE_FV)

ARRAY_IV

An integer array identifier.

VARIANCE_FV

The name of a floating point variable to hold the result of the subroutine.

Description

Use this subroutine to return the variance of all values in the integer array.

Note that the equation used is based upon the number of elements in the array (n), and not n-1.