f( x ) = a * b^( x ) Regression for the basic exponentiation function.
| package | GaussNewtonRegression |
|---|---|
| subpackage | ExponentiationRegression |
getFunction(float $x, array $coefficients) : float
Return f( x ) for a given set of coefficients.
floatReal value given to equation.
arrayCoefficients used in calculation.
floatValue result of equation.getNumberOfCoefficients() : integer
integerThe number of coefficients for the equation being used.partialDifferential(float $x, integer $coefficientIndex, array $coefficients) : float
floatValue of x to supply to partial-differential function.
integerWhich coefficient to be used in the partial-differential function.
arrayValues of the coefficients to be used.
floatp( x ) for the supplied input.