|
5.1.133 sqrfree
Syntax:
sqrfree ( poly_expression )
sqrfree ( poly_expression, 0 )
sqrfree ( poly_expression, 2 )
Type:
- list of ideal and intvec
Syntax:
sqrfree ( poly_expression, 1 )
Type:
- ideal
Syntax:
sqrfree ( poly_expression, 3 )
Type:
- poly
Purpose:
- computes the squarefree factors (as an ideal) of the polynomial
together with or without
the multiplicities (as an intvec) depending on the second argument:
| 0: returns factors and multiplicities, first factor is a constant.
May also be written with only one argument.
1: returns non-constant factors (no multiplicities).
2: returns non-constant factors and multiplicities.
3: returns the product of factors (including constant), i.e. squarefree part
|
Note:
- Not implemented for the coefficient fields real and finite fields of
type
(p^n,a) .
Example:
See
factorize.
|