Overview | Group | Tree | Graph | Index | Concepts |
Numeric expressions in Concert Technology 2.0 are represented using the
class IloNumExpr
.
Constructor Summary | |
---|---|
public | IloNumExpr() |
public | IloNumExpr(IloNumExpr::ImplClass *) |
public | IloNumExpr(const IloNumExprArg) |
public | IloNumExpr(const IloEnv, IloNum) |
public | IloNumExpr(const IloNumLinExprTerm) |
public | IloNumExpr(const IloIntLinExprTerm) |
public | IloNumExpr(const IloExpr &) |
Method Summary | |
---|---|
public IloNumExpr::ImplClass * | getImpl() |
public IloNumExpr & | operator *=(IloNum) |
public IloNumExpr & | operator+=(const IloNumExprArg) |
public IloNumExpr & | operator+=(IloNum) |
public IloNumExpr & | operator-=(const IloNumExprArg) |
public IloNumExpr & | operator-=(IloNum) |
public IloNumExpr & | operator/=(IloNum) |
Inherited Methods from IloNumExprArg |
---|
getImpl |
Inherited Methods from IloExtractable |
---|
end, getEnv, getId, getImpl, getName, getObject, setName, setObject |
Inner Class | |
---|---|
IloNumExpr::NonLinearExpression | The class of exceptions thrown if a numerical constant of a non-linear expression is set or queried. |
Constructor Detail |
---|
This constructor creates a numeric expression using the undocumented
class IloNumExprArg
.
This constructor creates a numeric expression in the environment
indicated by env
. It may be used to build other expressions
from variables belonging to env
.
This constructor creates a numeric expression using the undocumented
class IloNumLinExprTerm
.
This constructor creates a numeric expression using the undocumented
class IloIntLinExprTerm
.
This is the copy constructor for this class.
Method Detail |
---|
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x * ...
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x + ...
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x + ...
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x - ...
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x - ...
This operator is recommended for building a Concert Technology expression
in a loop. It is more efficient than x = x / ...