Click or drag to resize

LinearConstraintGradient(DoubleVector, DoubleVector) Method

Evaluates the gradient of the constraint function and places in the given vector.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public override void Gradient(
	DoubleVector x,
	DoubleVector grad
)

Parameters

x  DoubleVector
The point at which to evaluate the gradient.
grad  DoubleVector
Vector into which to place the value of the gradient evaluated at x.
Exceptions
ExceptionCondition
InvalidArgumentExceptionThrown if the grad argument is null or does not have the correct length.
See Also