Load mean into result when data is sufficient.
Declared in <bdlsta_moment.h>
int
meanIfValid(double* result) const;
Load into the specified result, the mean of the data set. Return 0 on success, and a non-zero value otherwise. Specifically, e_INADEQUATE_DATA is returned if 1 > count.
0 on success, or a non-zero status otherwise
| Name | Description |
|---|---|
| result | destination for the mean on success |