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 multiplies its arguments. 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.


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 multiplies its arguments. 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.

See Also:


operator*

public IloNumLinExprTerm operator*(const IloNumVar x, IloInt num)
public IloNumLinExprTerm operator*(IloInt num, const IloNumVar x)
public IloNumLinExprTerm operator*(const IloIntVar x, IloNum num)
public IloNumLinExprTerm operator*(IloNum num, const IloIntVar x)
public IloIntLinExprTerm operator*(const IloIntVar x, IloInt num)
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)
public IloIntExprArg operator*(const IloIntExprArg x, const IloIntExprArg y)
public IloIntExprArg operator*(const IloIntExprArg x, IloInt y)
Definition file: ilconcert/iloexpression.h
Returns an expression equal to the product of its arguments.

This overloaded C++ operator returns an expression equal to the product of its arguments. Its arguments may be numeric values, numeric variables, or other expressions.


operator*

public IloNumToNumStepFunction operator*(const IloNumToNumStepFunction f1, IloNum k)
public IloNumToNumStepFunction operator*(IloNum k, const IloNumToNumStepFunction f1)
Definition file: ilconcert/ilonumfunc.h
Creates and returns a function equal to its argument function multiplied by a given factor.

These operators create and return a function equal to the function f1 multiplied by a factor k everywhere on the definition interval. The resulting function is defined on the same interval as the argument function f1. See also: IloNumToNumStepFunction.