Top
Back: D.7.1 presolve_lib
Forward: D.7.1.2 elimlinearpart
FastBack: Appendix D SINGULAR libraries
FastForward: E Release Notes
Up: D.7.1 presolve_lib
Top: 1 Preface
Contents: Table of Contents
Index: F Index
About: About This Document

D.7.1.1 degreepart

Procedure from library presolve.lib (see section presolve_lib).

Usage:

degreepart(id,d1,d2[,v]); id=ideal/module, d1,d1=integers, v=intvec

Return:

generators of id of [v-weighted] total degree >= d1 and <= d2 (default: v = 1,...,1)

Example:

LIB "presolve.lib";
ring r=0,(x,y,z),dp;
ideal i=1+x+x2+x3+x4,3,xz+y3+z8;
degreepart(i,0,4);
→ _[1]=x4+x3+x2+x+1
→ _[2]=3
module m=[x,y,z],x*[x3,y2,z],[1,x2,z3,0,1];
intvec v=2,3,6;
show(degreepart(m,8,8,v));
→ // module, 1 generator(s)
→ [x4,xy2,xz]

Top Back: D.7.1 presolve_lib Forward: D.7.1.2 elimlinearpart FastBack: Appendix D SINGULAR libraries FastForward: E Release Notes Up: D.7.1 presolve_lib Top: 1 Preface Contents: Table of Contents Index: F Index About: About This Document
            User manual for Singular version 2-0-4, October 2002, generated by texinfo.