Filter Content By
Version
Languages

getCoeff ( i )

Retrieve the coefficient from a single term of the expression.

Return value:

Coefficient for the quadratic term at index i in the expression.

Example usage:

  e = x * x + 2 * y * y + z
print(e.getCoeff(1))