Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
operator+
Overloaded operator on expression objects.
GRBLinExpr | operator+ ( | const GRBLinExpr& | expr1, |
const GRBLinExpr& | expr2 ) |
-
Add a pair of expressions.
Arguments:
expr1: First expression to be added.
expr2: Second expression to be added.
Return value:
Sum expression.
GRBLinExpr | operator+ ( | const GRBLinExpr& | expr ) |
Allow plus sign to be used before an expression.
Arguments:
expr: Expression.
Return value:
Result expression.
GRBLinExpr | operator+ ( | GRBVar | x, |
GRBVar | y ) |
-
Add a pair of variables.
Arguments:
x: First variable to be added.
y: Second variable to be added.
Return value:
Sum expression.
GRBQuadExpr | operator+ ( | const GRBQuadExpr& | expr1, |
const GRBQuadExpr& | expr2 ) |
-
Add a pair of expressions.
Arguments:
expr1: First expression to be added.
expr2: Second expression to be added.
Return value:
Sum expression.
GRBQuadExpr | operator+ ( | const GRBQuadExpr& | expr ) |
Allow plus sign to be used before an expression.
Arguments:
expr: Expression.
Return value:
Result expression.