mul Method (XPRBexpr, XPRBexpr)
  Multiplies one XPRB expression by another. 
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.13.0
 Syntax
Syntax
Parameters
- e1
- 
   Type: 
   BCLXPRBexpr
   
 The first expression to multiply.
- e2
- 
   Type: 
   BCLXPRBexpr
   
 The second expression to multiply by.
Return Value
Type: XPRBexprThe resultant XPRBexpr expression.
 Examples
Examples
  XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBvar var2 = new XPRBvar("Variable2"); XPRBvar var3 = new XPRBvar("Variable3"); XPRBexpr exp = new XPRBexpr(4.2*var + var2*var2); XPRBexpr exp2 = new XPRBexpr(var2 + var2*var3); XPRBexpr expResult; ... exp.delTerm(var2); exp2.delTerm(var3); expResult = new XPRBexpr(XPRBexpr.mul(exp, exp2)); 
 See Also
See Also
 
