Delegate LineSearchEval
Delegate type for function evaluation
Namespace: Microsoft.ML.Probabilistic.Math
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public delegate double LineSearchEval(double step, bool calcDeriv, out double deriv);
Parameters
| Type | Name | Description |
|---|---|---|
| Double | step | Step value |
| Boolean | calcDeriv | Calculate the derivative |
| Double | deriv | Where to put the derivative |
Returns
| Type | Description |
|---|---|
| Double | Function evaluation |