MathTop

squarefree_factorization 函数

返回多项式的系数以及无平方因子-指数对。

语法

  • squarefree_factorization(poly, x)
  • sqf_factor_list(poly, x)

参数与选项

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

示例

  1. 无平方因子分解squarefree_factorization((x - 1)^2*(x + 2), x)返回 [1, [[x + 2, 1], [x - 1, 2]]]。