Cumulative standard deviation: Difference between revisions
m
→{{header|Wren}}: Minor tidy
(→C++) |
m (→{{header|Wren}}: Minor tidy) |
||
(One intermediate revision by one other user not shown) | |||
Line 1,361:
v[] = [ 2 4 4 4 5 5 7 9 ]
for v in v[]
print v & " " & r
.
Line 4,442:
{{libheader|Wren-fmt}}
{{libheader|Wren-math}}
<syntaxhighlight lang="
import "./math" for Nums
var cumStdDev = Fiber.new { |a|
Line 4,457:
var sd = cumStdDev.call(a)
if (cumStdDev.isDone) return
}</syntaxhighlight>
|