RegModels.PowerDeriv Method

void PowerDeriv(TRegressFun RegressFun, Double X, Double Y, Double[] Pars, TVec Grad)

Derivatives of power function.

#NameTypeDescription
1RegressFunTRegressFun
2XDoublescalar
3YDoublescalar
4ParsDouble[]
5GradTVecsource TVec

Result: stored in self (calling object)

Remarks:

Calculates the derivatives of the power 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.PowerEval, RegModels.PowerFit