linexpr.getConstant()


linexpr.getConstant()

getConstant.()

从线性表达式检索常量术语。

返回值:

从表达常数。

示例用法:

e = 2 * x + 3打印(e.getConstant())