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_cv()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_CV()


Syntax:        L_CV(<array>)


Purpose:       Calculates the coefficient of variance of the values
               contained in an array.


Arguments:     <array> on which to calculate the coefficient.


Returns:       The coefficient 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_CV(arr1)                 && Result: 1.35


Language:      C

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

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