void ExpDeriv(TRegressFun RegressFun, double X, double Y, const DewArray<double> &Pars, TVec *Grad, const TMtxFloatPrecision fp);
Derivatives of simple exponential function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | RegressFun | TRegressFun | |
| 2 | X | double | |
| 3 | Y | double | |
| 4 | Pars | const DewArray<double> & | |
| 5 | Grad | TVec * | |
| 6 | fp | const TMtxFloatPrecision |
Remarks:
Calculates the derivatives of the simple exponential function at point (X,Y) with respect to the regression parameters Pars. The results are returned in Grad vector. Grad.Values[I] contains the derivative with respect to the I-th parameter. The Length and Complex properties of the Grad vector are adjusted automatically.
See Also: RegModels::ExpEval, RegModels::ExpFit
Declared in Dew::Stats::Units::RegModels · Dew.Stats/Units.RegModels.h · Cross-compiler