Defines derivatives of function.
public delegate void TDeriveProc(TRegressFun RegressFun, double X, double Y, TVec Pars, TVec Grad)
The type describes the procedure for calculating the derivatives of a regression function RegressFun with respect to the regression parameters (B array), evaluated at (X,Y).
An example of regression function and it's derivatives with respect to regression parameters:
private void SimplexParabolaDeriv(Dew.Stats.TRegresFun RegressFun, double x, double y, TVec Pars, TVec Grad); { Grad.Values[0] = x*x; Grad.Values[1] = x; Grad.Values[2] = 1.0; }
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 1999-2010 by Dew Research. All rights reserved.
|