$_error
$_error : boolean
Indicator flag for a calculation error
PHPExcel_Polynomial_Best_Fit
__construct(integer $order, array<mixed,float> $yValues, array<mixed,float> $xValues = array(), boolean $const = True)
Define the regression and calculate the goodness of fit for a set of X and Y data values
integer | $order | Order of Polynomial for this regression |
array<mixed,float> | $yValues | The set of Y-values for this regression |
array<mixed,float> | $xValues | The set of X-values for this regression |
boolean | $const |
_polynomial_regression(integer $order, array<mixed,float> $yValues, array<mixed,float> $xValues, boolean $const)
Execute the regression and calculate the goodness of fit for a set of X and Y data values
integer | $order | Order of Polynomial for this regression |
array<mixed,float> | $yValues | The set of Y-values for this regression |
array<mixed,float> | $xValues | The set of X-values for this regression |
boolean | $const |