Top
Back: D.2.4.6 lcm
Forward: D.2.4.8 maxdeg
FastBack: D. SINGULAR libraries
FastForward: E. Release Notes
Up: D.2.4 poly_lib
Top: Singular 2-0-4 Manual
Contents: Table of Contents
Index: F. Index
About: About This Document

D.2.4.7 maxcoef

Procedure from library poly.lib (see poly_lib).

Usage:

maxcoef(f); f poly/ideal/vector/module/matrix

Return:

maximal length of coefficient of f of type int (by counting the length of the string of each coefficient)

Example:

 
LIB "poly.lib";
ring r= 0,(x,y,z),ds;
poly g = 345x2-1234567890y+7/4z;
maxcoef(g);
→ 10
ideal i = g,10/1234567890;
maxcoef(i);
→ 11
// since i[2]=1/123456789

Top Back: D.2.4.6 lcm Forward: D.2.4.8 maxdeg FastBack: D. SINGULAR libraries FastForward: E. Release Notes Up: D.2.4 poly_lib Top: Singular 2-0-4 Manual Contents: Table of Contents Index: F. Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texi2html.