Evaluates both the constrain value and its gradient in one operation.
Namespace:
Extreme.Mathematics.Optimization
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual double EvaluateConstraintAndGradient(
Vector<double> x
)
Public Overridable Function EvaluateConstraintAndGradient (
x As Vector(Of Double)
) As Double
public:
virtual double EvaluateConstraintAndGradient(
Vector<double>^ x
)
abstract EvaluateConstraintAndGradient :
x : Vector<float> -> float
override EvaluateConstraintAndGradient :
x : Vector<float> -> float
Parameters
- x
- Type: Extreme.MathematicsVectorDouble
A vector containing the point at which to evaluate the constraint and gradient.
Return Value
Type:
DoubleThe value of the constraint at
x.
Reference