CoCoA:IsPositiveGrading

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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>