Top
Back: Equal
Forward: NumLocalDim
FastBack:
FastForward:
Up: numerAlg_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.5.8.3 DegreePure

Procedure from library numerAlg.lib (see numerAlg_lib).

Usage:
DegreePure(ideal I,int i); I ideal, i positive integer

Return:
the degree of the pure i-dimensional component of the algebraic variety defined by I

Example:
 
LIB "numerAlg.lib";
ring r=0,(x,y,z),dp;
poly f1=(x2+y2+z2-6)*(x-y)*(x-1);
poly f2=(x2+y2+z2-6)*(x-z)*(y-2);
poly f3=(x2+y2+z2-6)*(x-y)*(x-z)*(z-3);
ideal I=f1,f2,f3;
def W=DegreePure(I,1);
==>
The Degree of Component
3
def W=DegreePure(I,2);
==>
The Degree of Component
2


Top Back: Equal Forward: NumLocalDim FastBack: FastForward: Up: numerAlg_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.1, 2022, generated by texi2html.