Initializing help system before first use

mul Method (XPRBterm, XPRBterm)

Multiply two XPRBterms together to create an XPRBexpr.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public XPRBexpr mul(
	XPRBterm t,
	XPRBterm t2
)

Parameters

t
Type:  BCLXPRBterm
The XPRBterm to multiply.
t2
Type:  BCLXPRBterm
The second XPRBterm to multiply.

Return Value

Type:  XPRBexpr
The resultant XPRBexpr expression if successful. This will throw a "Non-quadratic expression" exception if the result is not quadratic.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBterm term = new XPRBterm(2.3, var); XPRBexpr exp; ... exp = new XPRBexpr(XPRBexpr.mul(term, term));
See Also