arraylib::Var - Return variance of the elements in array.
[array] Var -> number
[0 1 2] Var -> 1.0
[1 2 3 4] Var -> 1.666667
Returns the variance of all elements in the array. The array is expected
to contain only numbers, and is flattened before the computation.
[array]: array of numbers
The array must contain no other elements than numbers.
The return type is always double.
library "arraylib"
R Kupper
17-sep-2007
/var/www/debian/nest/nest-simulator-2.20.0/lib/sli/arraylib.sli