Initializing help system before first use

Equality Operator (Double, XPRBexpr)

Create an XPRBrelation from an XPRBexpr and a double.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public static XPRBrelation operator ==(
	double dl1,
	XPRBexpr l2
)

Parameters

dl1
Type:  SystemDouble
The lhs double.
l2
Type:  BCLXPRBexpr
The rhs expression.

Return Value

Type:  XPRBrelation
The resultant XPRBrelation.
Remarks
This is usually used when creating constraints directly in the method call.
Examples
XPRBvar var = new XPRBvar("Variable1"); XPRBexpr exp = new XPRBexpr(1.9 - 3.1*var); XPRBrelation rel; ... rel = 1.3 == exp;
See Also