Home Online Manual
Top
Back: minIntRoot2
Forward: dmodAction
FastBack:
FastForward:
Up: dmodloc_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document
7.5.20.0. maxIntRoot
Procedure from library dmodloc.lib (see dmodloc_lib).

Usage:
maxIntRoot(L); L list

Assume:
L is the output of bFactor.

Return:
int, the maximal integer root in a list of roots

Example:
 
LIB "dmodloc.lib";
ring r = 0,x,dp;
poly f = x*(x+1)*(x-2)*(x-5/2)*(x+5/2);
list L = bFactor(f);
maxIntRoot(L);
==> 2
See also: bFactor; minIntRoot2.