BloombergLP::bdlsta::Moment<BloombergLP::bdlsta::MomentLevel::e_M4>::varianceIfValid

Load into the specified result, the variance of the data set. Return 0 on success, and a non-zero value otherwise. Specifically, e_INADEQUATE_DATA is returned if 2 > count.

Synopsis

Declared in <bdlsta_moment.h>

int
varianceIfValid(double* result) const;