Represents an objective function that also computes the derivative.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public delegate double FunctionWithDerivative(
double x,
out double derivative
)
Public Delegate Function FunctionWithDerivative (
x As Double,
<OutAttribute> ByRef derivative As Double
) As Double
public delegate double FunctionWithDerivative(
double x,
[OutAttribute] double% derivative
)
type FunctionWithDerivative =
delegate of
x : float *
derivative : float byref -> float
Parameters
- x
- Type: SystemDouble
The value at which to evaluate the function - derivative
- Type: SystemDouble
On return, the derivative of the function
at x.
Return Value
Type:
DoubleThe value of the function at
x.
Reference