Initializing help system before first use

Equality Operator (Double, XPRBterm)

Create an XPRBrelation from a number and an XPRBterm

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public static XPRBrelation operator ==(
	double lhs,
	XPRBterm rhs
)

Parameters

lhs
Type:  SystemDouble
The lhs number.
rhs
Type:  BCLXPRBterm
The rhs XPRBterm.

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"); XPRBvar var2 = new XPRBvar("Variable2"); XPRBterm term1 = new XPRBterm(6.7, var1); XPRBterm term1 = new XPRBterm(9, var2); XPRBrelation rel; ... rel = term1 == term2;
See Also