$error
$error : boolean
Indicator flag for a calculation error.
__construct(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.
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 |
exponentialRegression(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.
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 |