BloombergLP::bdlsta::Moment<BloombergLP::bdlsta::MomentLevel::e_M1>::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