Adds an inequality constraint of the form lowerBound <= constraintFunction(x) < upperBound

Namespace:  CenterSpace.NMath.Analysis
Assembly:  NMath (in NMath.dll) Version: 5.1.0.0

Syntax

C#
public void AddConstraint(
	DoubleFunctional constraintFunction,
	double lowerBound,
	double upperBound
)
Visual Basic (Declaration)
Public Sub AddConstraint ( _
	constraintFunction As DoubleFunctional, _
	lowerBound As Double, _
	upperBound As Double _
)
Visual C++
public:
void AddConstraint(
	DoubleFunctional^ constraintFunction, 
	double lowerBound, 
	double upperBound
)

Parameters

constraintFunction
Type: CenterSpace.NMath.Core..::.DoubleFunctional
Constraint function.
lowerBound
Type: System..::.Double
The lower bound of the constraint.
upperBound
Type: System..::.Double
The upper bound of the constraint.

See Also