XPRBexprMultiply(XPRBexpr, XPRBterm) Operator |
Multiply an XPRBexpr and an XPRBterm
Namespace: BCLAssembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntaxpublic static XPRBexpr operator *(
XPRBexpr e1,
XPRBterm e2
)
Public Shared Operator * (
e1 As XPRBexpr,
e2 As XPRBterm
) As XPRBexpr
Parameters
- e1 XPRBexpr
- The first expression to multiply
- e2 XPRBterm
- The second expression to multiply.
Return Value
XPRBexprThe resultant XPRBexpr.
ExampleXPRBvar var = new XPRBvar("Variable1");
XPRBvar var2 = new XPRBvar("Variable2");
XPRBterm term = new XPRBterm(9.7, var);
XPRBexpr exp = new XPRBexpr(var + 3.6*var2);
XPRBexpr expnew;
...
expnew = exp*term;
See Also