Adds an equality constraint of the form
constraintFunction(x) = rightHandSide
Namespace:
CenterSpace.NMath.AnalysisAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public void AddEqualityConstraint( int xDimension, Func<DoubleVector, double> constraintFunction, double rightHandSide ) |
| Visual Basic (Declaration) |
|---|
Public Sub AddEqualityConstraint ( _ xDimension As Integer, _ constraintFunction As Func(Of DoubleVector, Double), _ rightHandSide As Double _ ) |
| Visual C++ |
|---|
public: void AddEqualityConstraint( int xDimension, Func<DoubleVector^, double>^ constraintFunction, double rightHandSide ) |
Parameters
- xDimension
- Type: System..::.Int32
The dimension of the domain of the constraintFunction
- constraintFunction
- Type: System..::.Func<(Of <(DoubleVector, Double>)>)
Constraint function.
- rightHandSide
- Type: System..::.Double
The right hand side of the equality.