neg Method (XPRBterm)
Negate the coefficient of the XPRBterm.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 37.1.1.0

Parameters
- l
-
Type:
BCLXPRBterm
The XPRMterm to negate.
Return Value
Type: XPRBtermThe negated XPRMterm.

XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBterm term = new XPRBterm(4.2, var); ... XPRBterm.neg(term);
