Double.NaN
if the array is empty. See {@link Variance} for details on the computing algorithm.
Returns 0 for a single-value (i.e. length = 1) sample.
Throws MathIllegalArgumentException
if the array is null.
Does not change the internal state of the statistic.
@param values the input array @return the variance of the values or Double.NaN if length = 0 @throws MathIllegalArgumentException if the array is null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|