Documentation

operator*


operator*

Overloaded operator on expression objects.

GRBLinExpr operator* ( GRBVar x,
    double a )
    Multiply a variable and a constant.

    Arguments:

    x: Variable.

    a: Constant multiplier.

    Return value:

    Expression that represents the result of multiplying the variable by a constant.

GRBLinExpr operator* ( double a,
    GRBVar x )
    Multiply a variable and a constant.

    Arguments:

    a: Constant multiplier.

    x: Variable.

    Return value:

    Expression that represents the result of multiplying the variable by a constant.

GRBLinExpr operator* ( const GRBLinExpr& expr,
    double a )
    Multiply an expression and a constant.

    Arguments:

    expr: Expression.

    a: Constant multiplier.

    Return value:

    Expression that represents the result of multiplying the expression by a constant.

GRBLinExpr operator* ( double a,
    const GRBLinExpr& expr )
    Multiply an expression and a constant.

    Arguments:

    a: Constant multiplier.

    expr: Expression.

    Return value:

    Expression that represents the result of multiplying the expression by a constant.

GRBQuadExpr operator* ( const GRBQuadExpr& expr,
    double a )
    Multiply an expression and a constant.

    Arguments:

    expr: Expression.

    a: Constant multiplier.

    Return value:

    Expression that represents the result of multiplying the expression by a constant.

GRBQuadExpr operator* ( double a,
    const GRBQuadExpr& expr )
    Multiply an expression and a constant.

    Arguments:

    a: Constant multiplier.

    expr: Expression.

    Return value:

    Expression that represents the result of multiplying the expression by a constant.

GRBQuadExpr operator* ( GRBVar x,
    GRBVar y )
    Multiply a pair of variables.

    Arguments:

    x: First variable.

    y: Second variable.

    Return value:

    Expression that represents the result of multiplying the argument variables.

GRBQuadExpr operator* ( GRBVar var,
    const GRBLinExpr& expr )
    Multiply an expression and a variable.

    Arguments:

    var: Variable.

    expr: Expression.

    Return value:

    Expression that represents the result of multiplying the expression by a variable.

GRBQuadExpr operator* ( const GRBLinExpr& expr,
    GRBVar var )
    Multiply an expression and a variable.

    Arguments:

    var: Variable.

    expr: Expression.

    Return value:

    Expression that represents the result of multiplying the expression by a variable.

GRBQuadExpr operator* ( const GRBLinExpr& expr1,
    const GRBLinExpr& expr2 )
    Multiply a pair of expressions.

    Arguments:

    expr1: First expression.

    expr2: Second expression.

    Return value:

    Expression that represents the result of multiplying the argument expressions.