You are here: Symbol Reference > Dew Namespace > Dew.Stats Namespace > Types > Dew.Stats.TDeriveProc Type
Dew Stats for .NET
ContentsIndexHome
PreviousUpNext
Dew.Stats.TDeriveProc Type

Defines derivatives of a function.

Syntax
C#
Visual Basic
public delegate void TDeriveProc(TRegressFun RegressFun, [In] double X, [In] double Y, [In] TVec Pars, [In] TVec Grad);

Regress.cs

The type describes the procedure for calculating the derivatives of a regression function TRegressFun 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; }
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!