Standard deviation

Date: 2020-03-03

https://stackoverflow.com/a/53577159

const n = array.length;
const mean = array.reduce((a,b) => a+b)/n;
const s = Math.sqrt(array.map(x => Math.pow(x-mean,2)).reduce((a,b) => a+b)/n);

35510cookie-checkStandard deviation