Click or drag to resize

XPRBtermEquality(XPRBterm, Double) Operator

Create an XPRBrelation from an XPRBterm and a number

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public static XPRBrelation operator ==(
	XPRBterm lhs,
	double rhs
)

Parameters

lhs  XPRBterm
The lhs XPRBterm.
rhs  Double
The rhs number.

Return Value

XPRBrelation
The resultant XPRBrelation.
Remarks
This is usually used when creating constraints directly in the method call.
Example
C#
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