| 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.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public NonlinearConstraint(
int xDimension,
Func<DoubleVector, double> constraintFunction,
ConstraintType constraintType
)
Public Sub New (
xDimension As Integer,
constraintFunction As Func(Of DoubleVector, Double),
constraintType As ConstraintType
)
public:
NonlinearConstraint(
int xDimension,
Func<DoubleVector^, double>^ constraintFunction,
ConstraintType constraintType
)
new :
xDimension : int *
constraintFunction : Func<DoubleVector, float> *
constraintType : ConstraintType -> NonlinearConstraint
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