This commit is contained in:
ducklet 2021-08-04 17:30:17 +02:00
parent ff4f8fa246
commit fb059ae5d1
6 changed files with 24 additions and 22 deletions

View file

@ -10,7 +10,7 @@ export function mean(nums) {
return sum(nums) / nums.length
}
export function pstdev(nums, mu=null) {
export function pstdev(nums, mu = null) {
if (mu === null) {
mu = mean(nums)
}