Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_var()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_VAR()


Syntax:        L_VAR(<array>)


Purpose:       Calculates the variance of values in an array.


Arguments:     <array> is the array on which to calculate its variance


Returns:       The variance of the specified array.


Examples:      DECLARE arr1[6]

               arr1[1] = 200
               arr1[2] = 5000
               arr1[3] = 50
               arr1[4] = 1000
               arr1[5] = 30
               arr1[6] = 2500

               ? L_VAR(arr1)                    && Result: 3889066.67


Language:      C

See Also: L_CORR() L_COVAR() L_CV() L_STDDEV()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson