Difference between revisions of "CoCoA:IsPositiveGrading"

From ApCoCoAWiki
(pushing XML rev. 1.46, again)
 
(No difference)

Latest revision as of 10:02, 24 October 2007

IsPositiveGrading

check if a matrix defines a positive grading

Description

This function determines whether a matrix defines a positive grading,

i.e. foreach column the first nonnegative entry is positive.

Example

  IsPositiveGrading(LexMat(5));
TRUE
-------------------------------
  IsPositiveGrading(Mat([[0,2,3], [1, -1, 0]]));
TRUE
-------------------------------
  IsPositiveGrading(Mat([[1,1], [0,-1], [-1, 0]]));
TRUE
-------------------------------

Syntax

IsPositiveGrading(M:MAT):BOOL

HilbertSeriesMultiDeg

PositiveGrading4

   <type>matrix</type>
   <type>boolean</type>