Click or drag to resize

NonlinearConstraint(Int32, FuncDoubleVector, Double, ConstraintType) Constructor

Creates a NonlinearConstraint object with the given constraint function, constraint function domain dimension, and constraint type.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public NonlinearConstraint(
	int xDimension,
	Func<DoubleVector, double> constraintFunction,
	ConstraintType constraintType
)

Parameters

xDimension  Int32
The dimension of the domain of the constraint function.
constraintFunction  FuncDoubleVector, Double
Delegate for evaluating the constraint function.
constraintType  ConstraintType
The type of the constraint (equality or inequaltiy).
See Also