| NonlinearConstraint(DoubleFunctional, ConstraintType, Double) Constructor |
Creates a NonlinearConstraint object with the given constraint
function, constraint type, and tolerance for determining constraint
compliance.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public NonlinearConstraint(
DoubleFunctional constraintFunction,
ConstraintType constraintType,
double tolerance
)
Public Sub New (
constraintFunction As DoubleFunctional,
constraintType As ConstraintType,
tolerance As Double
)
public:
NonlinearConstraint(
DoubleFunctional^ constraintFunction,
ConstraintType constraintType,
double tolerance
)
new :
constraintFunction : DoubleFunctional *
constraintType : ConstraintType *
tolerance : float -> NonlinearConstraint
Parameters
- constraintFunction DoubleFunctional
- DoubleFunctional object representing the
constraint function.
- constraintType ConstraintType
- The type of constraint (equality or inequality).
- tolerance Double
- The tolerance for determining whether or not this
constraint is satisfied at a particular point. For
example the equality constraint
c(x) = 0 will be considered to be satisfied at a point x0
if |c(x0)| < Tolerance, and a inequality constraint
c(x) >= 0 will be considered to be satisfied at a point x0
if c(x0) >= -tolerance_.
See Also