Load variance of the X values into result when data is sufficient.
Declared in <bdlsta_linefit.h>
int
varianceIfValid(double* result) const;
Load into the specified result, the variance of the data set X's. Return 0 on success, and a non-zero value otherwise. Specifically, e_INADEQUATE_DATA is returned if 2 > count.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| result | receives the variance of the X values |