OneDimensionalOptimizer.EvaluateWithDerivative Method

Evaluates the objective function and its derivative.

Definition

Namespace: Numerics.NET.Optimization
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
protected double EvaluateWithDerivative(
	double x,
	out double derivative
)

Parameters

x  Double
A real number.
derivative  Double
On return, the derivative of the objective function.

Return Value

Double
The derivative of the objective function at x.

See Also