up previous next
IsStdGraded

checks if the grading is standard

Syntax
IsStdGraded(P: RING): BOOL

Description
This function tests whether P is standard graded, i.e. GradingDim is 1 and all indeterminates in P have degree 1.

Example
/**/  P ::= QQ[x,y,z];
/**/  IsStdGraded(P);
true
/**/  P ::= QQ[x,y,z], lex;
/**/  IsStdGraded(P);
false
/**/  P := NewPolyRing(QQ, "x,y", mat([[2,3],[1,2]]), 1);
/**/  IsStdGraded(P);
false

See Also