BloombergLP::bdlsta::Moment::variance

Return the variance of the accumulated sample.

Synopsis

Declared in <bdlsta_moment.h>

double
variance() const;

Description

The behavior is undefined unless 2 <= count.

Return Value

sample variance