Home Online Manual
Back: squarefree
Forward: further_hn_proc
FastBack: gmspoly_lib
FastForward: kskernel_lib
Up: hnoether_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.6.9.19 allsquarefree

Procedure from library hnoether.lib (see hnoether_lib).

Usage :
allsquarefree(f,g); f,g poly

g is the output of squarefree(f).

the greatest squarefree divisor of f.

Note :
This proc uses factorize to get the missing factors of f not in g and, therefore, may be slow.

LIB "hnoether.lib";
ring exring=7,(x,y),dp;
poly f=(x+y)^7*(x-y)^8;
poly g=squarefree(f);
g;                      // factor x+y lost, since characteristic=7
==> x-y
allsquarefree(f,g);     // all factors (x+y)*(x-y) found
==> x2-y2
See also: squarefree.