MathTop

lcoeff 函数

返回多项式关于指定变量的首项系数。

语法

  • lcoeff(poly, x)

参数与选项

expr要变换或求值的表达式。
var变量名称。

示例

  1. 首项系数lcoeff(3*x^4 + 2*x + 1, x)返回 3。