standardDeviation method
Calculate the standard deviation using all values in the int list.
If there is no element, 0 is returned.
intのリストのすべての値を用いて標準偏差を算出します。
要素がない場合は0が返されます。
Implementation
double standardDeviation() {
if (isEmpty) {
return 0;
}
return sqrt(variance());
}