groebner_leading_coefficient 函数
返回多项式首项的系数。
语法
Groebner:-LeadingCoefficient(poly, x)Groebner:-LeadingCoefficient(poly, [x, y])
参数与选项
expr | 要变换或求值的表达式。 |
|---|---|
var | 变量名称。 |
示例
- 首项系数
Groebner:-LeadingCoefficient(3*x^4 + 2*x + 1, x)返回 3。
返回多项式首项的系数。
Groebner:-LeadingCoefficient(poly, x)Groebner:-LeadingCoefficient(poly, [x, y])expr | 要变换或求值的表达式。 |
|---|---|
var | 变量名称。 |
Groebner:-LeadingCoefficient(3*x^4 + 2*x + 1, x)返回 3。