Load the mean of the X values into result when data is sufficient.
Synopsis
Declared in <bdlsta_linefit.h>
int
xMeanIfValid(double* result) const;
Description
Load into the specified result, the mean of the data set X's. Return 0 on success, and a non‐zero value otherwise. Specifically, e_INADEQUATE_DATA is returned if 1 > count.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
result |
receives the mean of the X values |
Created with MrDocs