Singular/Sources — pull request #29 by mmklee (2011-12-06 13:27:32+00:00)
Title: Factory sqrfree

sqrfree (p) by default returns the squarefree decomposition including leading coefficient and multiplicities
sqrfree (p,0) is the same as the default
sqrfree (p,1) returns only the non-constant squarefree factors without multiplicities
sqrfree (p,2) returns only the non-constant squarefree factors with multiplicities
sqrfree (p,3) returns the product of the non-constant squarefree factors, i.e. the squarefree part of p