BloombergLP::bdlsta::LineFit::yMeanIfValid

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

Synopsis

Declared in <bdlsta_linefit.h>

int
yMeanIfValid(double* result) const;