Initializing help system before first use

neg Method

Negate the coefficient of the XPRBterm.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public XPRBterm neg()

Return Value

Type:  XPRBterm
The negated XPRMterm.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBterm term = new XPRBterm(4.2, var); ... term.neg();
See Also