Initializing help system before first use

sqr Method (XPRBterm)

Square an XPRBterm to create an XPRBexpr.

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

Parameters

t
Type:  BCLXPRBterm
The XPRBterm to square.

Return Value

Type:  XPRBexpr
The resultant XPRBexpr expression.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBterm term = new XPRBterm(3.2, var); XPRBexpr exp; ... exp = new XPRBexpr(XPRBexpr.sqr(var));
See Also