MathTop

groebner_leading_coefficient 函数

返回多项式首项的系数。

语法

  • Groebner:-LeadingCoefficient(poly, x)
  • Groebner:-LeadingCoefficient(poly, [x, y])

参数与选项

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

示例

  1. 首项系数Groebner:-LeadingCoefficient(3*x^4 + 2*x + 1, x)返回 3。