Initializing help system before first use

add Method (XPRBexpr, XPRBexpr)

Adds two XPRB expressions.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 44.01.01
Syntax
C#
public static XPRBexpr add(
	XPRBexpr l1,
	XPRBexpr l2
)
VB
Public Shared Function add ( 
	l1 As XPRBexpr,
	l2 As XPRBexpr
) As XPRBexpr

Parameters

l1
Type:  BCL.XPRBexpr
The XPRBexpr to be added to.
l2
Type:  BCL.XPRBexpr
The XPRBexpr to add to l1.

Return Value

Type:  XPRBexpr
The new XPRBexpr expression.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBvar var2 = new XPRBvar("Variable2"); XPRBexpr exp = new XPRBexpr(4.2*var + 3.6); XPRBexpr exp2 = new XPRBexpr(0.3*var2 - 2.7); ... exp = XPRBexpr.add(exp, exp2);
See Also

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.