XPRBvarGtEq(XPRBvar, XPRBterm) Method |
Create an XPRBrelation from an XPRBvar and an XPRBterm. Greater than or equal to.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic static XPRBrelation GtEq(
XPRBvar l1,
XPRBterm tl2
)
Public Shared Function GtEq (
l1 As XPRBvar,
tl2 As XPRBterm
) As XPRBrelation
Parameters
- l1 XPRBvar
- The lhs XPRBvar.
- tl2 XPRBterm
- The rhs XPRBterm.
Return Value
XPRBrelationThe resultant XPRBrelation.
RemarksThis is usually used when creating relations for those languages that do not allow
operator overloading.
ExampleXPRBvar var = new XPRBvar("Variable1");
XPRBvar var2 = new XPRBvar("Variable2");
XPRBterm term = new XPRBterm(6.7, var2);
XPRBrelation rel;
...
rel = XPRBvar.GtEq(var, term);
See Also