Skip to main content
FRAMES NO FRAMES

operator/

public IlcIntExp operator/(const IlcIntExp exp1, IlcInt exp2)
public IlcIntExp operator/(IlcInt exp1, const IlcIntExp exp2)
public IlcIntExp operator/(const IlcIntExp exp1, const IlcIntExp exp2)
Definition file: ilcp/cpext.h
Include file: <ilcp/cpext.h>
Overloaded C++ operator.

This arithmetic operator divides its first argument by its second. It has been overloaded to handle constrained expressions appropriately. The domain of the resulting expression is computed from the domains of the combined expressions as you would expect. If the domains of the dividend and divisor include 0 (zero), then 0/0 is supported; it does not constrain the resulting expression.


operator/

public IlcFloatExp operator/(const IlcFloatExp exp1, IlcFloat exp2)
public IlcFloatExp operator/(IlcFloat exp1, const IlcFloatExp exp2)
public IlcFloatExp operator/(const IlcFloatExp exp1, const IlcFloatExp exp2)
Definition file: ilcp/cpext.h
Include file: <ilcp/cpext.h>
Overloaded C++ operator.

This arithmetic operator divides its first argument by its second. It has been overloaded to handle constrained expressions appropriately. The domain of the resulting expression is computed from the domains of the combined expressions as you would expect. If the domains of the dividend and divisor include 0 (zero), then 0/0 is supported; it does not constrain the resulting expression.

See Also:


operator/

public IloNumExprArg operator/(const IloNumExprArg x, const IloNumExprArg y)
public IloNumExprArg operator/(const IloNumExprArg x, IloNum y)
public IloNumExprArg operator/(IloNum x, const IloNumExprArg y)
Definition file: ilconcert/iloexpression.h
Returns an expression equal to the quotient of its arguments.

This overloaded C++ operator returns an expression equal to the quotient of its arguments. Its arguments may be numeric values or numeric variables. For integer division, use IloDiv.