f( x ) = a * b^( c * x + d ) + g 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.
float
Real value given to equation.
array
Coefficients used in calculation.
float
Value result of equation.getNumberOfCoefficients() : integer
integer
The number of coefficients for the equation being used.partialDifferential(float $x, integer $coefficientIndex, array $coefficients) : float
float
Value of x to supply to partial-differential function.
integer
Which coefficient to be used in the partial-differential function.
array
Values of the coefficients to be used.
float
p( x ) for the supplied input.