Regress.NumericDerive Method

void NumericDerive(TRegressFun RegressFun, Double X, Double Y, TVec Pars, TVec Grad)

Numerical derivative for regress function.

#NameTypeDescription
1RegressFunTRegressFun
2XDoublescalar
3YDoublescalar
4ParsTVecsource TVec
5GradTVecsource 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