Filter Content By
Version
Languages

getLinExpr ( )

A quadratic expression is represented as a linear expression, plus a list of quadratic terms. This method retrieves the linear expression associated with the quadratic expression.

Return value:

Example usage:

  expr = x * x + 2 * y * y + z
le = expr.getLinExpr()