Top
Back: annfs0
Forward: checkRoot2
FastBack: central_lib
FastForward: involut_lib
Up: dmod_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document
7.5.2.0. checkRoot1
Procedure from library dmod.lib (see dmod_lib).

Usage:
checkRoot1(I,f,alpha [,eng]); I an ideal, f a poly, alpha a number, eng an optional int

Assume:
I is the annihilator of f^s in D[s], f is a polynomial in K[_x]

Return:
int, 1 if -alpha is a root of the global Bernstein polynomial of f and 0 otherwise

Purpose:
check whether a rational is a root of the global Bernstein polynomial of f

Note:
If eng <>0, std is used for Groebner basis computations,
otherwise (and by default) slimgb is used.
If printlevel=1, progress debug messages will be printed,
if printlevel>=2, all the debug messages will be printed.

Example:
 
LIB "dmod.lib";
ring r = 0,(x,y),Dp;
poly F = x^4+y^5+x*y^4;
printlevel = 0;
def A = Sannfs(F);
setring A;
poly F = imap(r,F);
checkRoot1(LD,F,31/20);   // -31/20 is not a root of bs
==> 0
checkRoot1(LD,F,11/20);   // -11/20 is a root of bs
==> 1


Top Back: annfs0 Forward: checkRoot2 FastBack: central_lib FastForward: involut_lib Up: dmod_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-0-3, May 2007, generated by texi2html.