QuadExpr.addConstant ()


QuadExpr.addConstant ()

addConstant(c)

在二次表达式中加入一个常数。

参数:

c:要添加到表达式中的常量。

使用示例:

expr = x * x + 2 * y * y + z