MarkLogic Server 11.0 Product Documentation
math:stddev

math:stddev(
   $arg as xs:double*
) as xs:double?

Summary

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.

Example

  math:stddev((122, 100, 23))

  => 51.9839718887787
Powered by MarkLogic Server | Terms of Use | Privacy Policy