Click or drag to resize

XPRBsosAddition(XPRBexpr, XPRBsos) Operator

Adding SOS to Expression is not supported, will add exression to SOS instead

Add an XPRBexpr to an XPRBsos.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public static XPRBsos operator +(
	XPRBexpr rhs,
	XPRBsos lhs
)

Parameters

rhs  XPRBexpr
The XPRBexpr to add.
lhs  XPRBsos
The XPRBsos to be added to.

Return Value

XPRBsos
The resultant XPRBsos.
Example
C#
XPRBvar var = new XPRBvar("Variable1");
XPRBexpr exp = new XPRBexpr(2.2*var);
XPRBsos sos = new XPRBsos();
...
sos = exp+sos;
See Also