XPRBtermUnaryNegation Operator |
Negate an XPRBterm.
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic static XPRBterm operator -(
XPRBterm rhs
)
Public Shared Operator - (
rhs As XPRBterm
) As XPRBterm
Parameters
- rhs XPRBterm
- The XPRBterm to negate.
Return Value
XPRBtermThe resultant XPRBterm.
ExampleXPRBvar var = new XPRBvar("Variable1");
XPRBterm term = new XPRBterm(2.3, var);
...
term = -term;
See Also