FRAMES NO FRAMES

IlcSquare

public IlcIntExp IlcSquare(const IlcIntExp exp)
public IlcInt IlcSquare(IlcInt i)
public IlcFloatExp IlcSquare(const IlcFloatExp exp)
Definition file: ilsolver/ilcint.h
Include file: <ilsolver/ilosolver.h>

When its argument is a constrained expression, this function creates a new constrained expression equal to the square of its argument exp. This new expression is logically equivalent to exp*exp.

When its argument is an unconstrained numeric value (that is, a value of type IlcInt), this function returns the square of its argument.

See Also: