Filter Content By
Version
Languages

getVar1 ( i )

Retrieve the first variable for a single quadratic term of the quadratic expression.

Return value:

First variable associated with the quadratic term at index i in the quadratic expression.

Example usage:

  expr = x * x + 2 * y * y + z
print(expr.getVar1(1))