Home Online Manual
Top
Back: prune
Forward: qrds
FastBack: Functions and system variables
FastForward: Control structures
Up: Functions
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

5.1.120 qhweight

Syntax:
qhweight ( ideal_expression )
Type:
intvec
Purpose:
computes the weight vector of the variables for a quasihomogeneous ideal. If the input is not weighted homogeneous, an intvec of zeros is returned.
Example:
 
  ring h1=32003,(t,x,y,z),dp;
  ideal i=x4+y3+z2;
  qhweight(i);
==> 0,3,4,6
See ideal; intvec; weight.