|
OpenAPI 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AQFit
| Method Summary | |
|---|---|
double |
evaluate(double x,
AQParametricRealFunction F,
double[] coefficients)
Evaluates parametric real function at point x, given user-defined coefficients |
double[] |
expFit(double[] x,
double[] y)
Calculates exponential fit for incoming array with no initial guess (linear transform fit) [link] |
double[] |
expFit(double[] x,
double[] y,
double[] coeff)
Calculates exponential fit for incoming array (form = a ebx+c) with initial guess [link] |
double[] |
expFitCoeff(double[] x,
double[] y)
Returns coefficients of exponential fit (form = a ebx+c) for incoming array with no initial guess (linear transform fit) [link] |
double[] |
expFitCoeff(double[] x,
double[] y,
double[] coeff)
Returns coefficients of exponential fit for incoming array (form = a ebx+c) [link] |
double[] |
getResidual(double[] rawdata,
double[] fitdata)
Calculates residual (difference between raw and fitted data) for given fit. |
double |
getRsq(double[] rawdata,
double[] fitdata)
Calculates R2 value for a given fit. |
double[] |
linFit(double[] x,
double[] y)
Calculates best fit line through incoming data [link] |
double[] |
linFitCoeff(double[] x,
double[] y)
Returns coefficients of best fit line through incoming data [link] |
AQParametricRealFunction |
newEXP_Function()
Returns AQParametric Function of type a ebx+c |
AQParametricRealFunction |
newLN_Function()
Returns AQParametric Function of type a ln(bx)+c |
AQParametricRealFunction |
newPOLY_Function()
Returns AQParametric Function of type a0 + a1 x1+... |
AQParametricRealFunction |
newPOW_Function()
Returns AQParametric Function of type a xb+c |
AQParametricRealFunction |
newWEIBULL_Function()
Returns AQParametric Function of type e-(x/a)b |
double[] |
polyFit(double[] x,
double[] y,
int order)
Calculates best fit Polynomial of user-defined order [link] |
double[] |
polyFitCoeff(double[] x,
double[] y,
int order)
Returns coefficients of best fit Polynomial of user-defined order [link] |
double[] |
powerFit(double[] x,
double[] y)
Calculates power fit for incoming array with no initial guess, (form = a xb+c) [link] |
double[] |
powerFitCoeff(double[] x,
double[] y)
Calculates power fit for incoming array with no initial guess, (form = a xb+c) [link] |
double |
SSE(double[] x)
Calculates sum-squared difference between an incoming array and its mean [link] |
double |
SSE(double[] x,
double[] y)
Calculates sum-squared difference between incoming arrays [link] |
double[] |
weibullFit(double[] x,
double[] y,
double[] coeff)
Calculates Weibull fit for incoming array (form = e-(x/a)b)) with initial guess [link] |
double[] |
weibullFitCoeff(double[] x,
double[] y,
double[] coeff)
Calculates Weibull fit for incoming array (form = e-(x/a)b)) [link] |
| Method Detail |
|---|
double getRsq(double[] rawdata,
double[] fitdata)
rawdata - a double precision array.fitdata - a double precision array.
IllegalArgumentException - if the incoming array is empty
double[] getResidual(double[] rawdata,
double[] fitdata)
rawdata - a double precision array.fitdata - a double precision array.
IllegalArgumentException - if the incoming array is empty
double[] linFit(double[] x,
double[] y)
x - a double precision array.y - a double precision array.
IllegalArgumentException - if the incoming array is empty
double[] linFitCoeff(double[] x,
double[] y)
x - a double precision array.y - a double precision array.
IllegalArgumentException - if the incoming array is empty
double[] expFit(double[] x,
double[] y)
x - a double precision array.y - a double precision array.
IllegalArgumentException - if the incoming array is empty
double[] expFitCoeff(double[] x,
double[] y)
x - a double precision array.y - a double precision array.
IllegalArgumentException - if the incoming array is empty
double[] expFit(double[] x,
double[] y,
double[] coeff)
x - a double precision array.y - a double precision array.coeff - a double precision array (initial guess)
IllegalArgumentException - if the incoming array is empty
double[] expFitCoeff(double[] x,
double[] y,
double[] coeff)
x - a double precision array.y - a double precision array.coeff - a double precision array (initial guess)
IllegalArgumentException - if the incoming array is empty
double[] weibullFit(double[] x,
double[] y,
double[] coeff)
x - a double precision array.y - a double precision array.coeff - a double precision array (initial guess for a and b)
IllegalArgumentException - if the incoming array is empty
double[] weibullFitCoeff(double[] x,
double[] y,
double[] coeff)
x - a double precision array.y - a double precision array.coeff - a double precision array (initial guess for a and b)
IllegalArgumentException - if the incoming array is empty
double[] powerFit(double[] x,
double[] y)
x - a double precision array.y - a double precision array.
IllegalArgumentException - if the incoming array is empty
double[] powerFitCoeff(double[] x,
double[] y)
x - a double precision array.y - a double precision array.
IllegalArgumentException - if the incoming array is empty
double evaluate(double x,
AQParametricRealFunction F,
double[] coefficients)
x - a double precision array.F - an AQParametricRealFunctioncoefficients - a double precision array
IllegalArgumentException - if the incoming array is emptydouble SSE(double[] x)
x - a double precision array.
IllegalArgumentException - if the incoming array is empty
double SSE(double[] x,
double[] y)
x - a double precision array.y - a double precision array.
IllegalArgumentException - if the incoming array is empty
double[] polyFit(double[] x,
double[] y,
int order)
x - a double precision array.y - a double precision array.order - integer value (desired polynomial order)
IllegalArgumentException - if the incoming array is empty
double[] polyFitCoeff(double[] x,
double[] y,
int order)
x - a double precision array.y - a double precision array.order - integer value (desired polynomial order)
IllegalArgumentException - if the incoming array is emptyAQParametricRealFunction newEXP_Function()
AQParametricRealFunction newPOLY_Function()
AQParametricRealFunction newLN_Function()
AQParametricRealFunction newWEIBULL_Function()
AQParametricRealFunction newPOW_Function()
|
OpenAPI 1.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||