void NumericDerive(TRegressFun RegressFun, Double X, Double Y, TVec Pars, TVec Grad)
Numerical derivative for regress function.
| # | Name | Type | Description |
|---|---|---|---|
| 1 | RegressFun | TRegressFun | |
| 2 | X | Double | scalar |
| 3 | Y | Double | scalar |
| 4 | Pars | TVec | source TVec |
| 5 | Grad | TVec | source TVec |
Result: stored in self (calling object)
Remarks:
Routine calculates the derivatives of the regression function RegressFun at (X,Y) by numerical differentiation. The results of differentation are returned in Grad vector. The Length and Complex properties of Grad vector are NOT adjusted automatically.
See Also: Regress.NLinRegress