math.stddev( arg as Number[] ) as Number?
Returns the sample standard deviation of a sequence of values. The function returns the empty sequence if the length of the input sequence is less than 2.
Parameters | |
---|---|
arg | The sequence of values. |
math.stddev([122, 100, 23]) => 51.9839718887787
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.