Please enable JavaScript to view this site.

ESL Documentation

MATHLIB Subroutine

Return the variance of all values in a float array.

call VARIANCE(ARRAY_FV, VARIANCE_FV)

ARRAY_FV

A floating point 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 float array.

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