diff options
author | Michael Daines <michael@mdaines.com> | 2013-09-14 17:48:19 -0400 |
---|---|---|
committer | Michael Daines <michael@mdaines.com> | 2013-09-14 17:48:19 -0400 |
commit | c427bf6a94fb026e8105edc2210dfde0e98c00c2 (patch) | |
tree | 96c7e04d36045ac5a5b02c0fa0b96da589e705f9 | |
parent | 82d8253c19fd5cc8f24b732a99cfaa7e5b8d96db (diff) |
Add test showing calculation of standard deviation
-rw-r--r-- | tests/all.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/all.test b/tests/all.test index 7a46edb7..c16b7eba 100644 --- a/tests/all.test +++ b/tests/all.test @@ -370,6 +370,10 @@ null [4,9] [2,3] +(add / length) as $m | map((. - $m) as $d | $d * $d) | add / length | sqrt +[2,4,4,4,5,5,7,9] +2 + def f(x): x | x; f([.], . + [42]) [1,2,3] [[[1,2,3]]] |