LeEq Method (XPRBterm, XPRBvar)
Create an XPRBrelation from an XPRBvar and an XPRBterm. Less than or equal to.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.14.0

Parameters
- t1
-
Type:
BCLXPRBterm
The lhs XPRBterm. - v2
-
Type:
BCLXPRBvar
The rhs XPRBvar.
Return Value
Type: XPRBrelationThe resultant XPRBrelation.

This is usually used when creating relations for those languages that do not allow operator overloading.

XPRBvar var = new XPRBvar("Variable1"); XPRBvar var2 = new XPRBvar("Variable2"); XPRBterm term = new XPRBterm(6.7, var2); XPRBrelation rel; ... rel = XPRBvar.LeEq(term, var);
