standardDeviation property
double
get
standardDeviation
Implementation
double get standardDeviation {
var length = this.length;
if (length == 0) return 0;
var average = mean;
var total = 0.0;
for (var i = 0; i < length; ++i) {
var n = this[i] - average;
total += n * n;
}
var deviation = sqrt(total / length);
return deviation;
}