up previous next
IsQQ

test whether a ring is the ring of rationals

Syntax
IsQQ(R: RING): BOOL

Description
This function tests whether a ring is the ring of rationals.

Example
/**/  R ::= QQ[x,y];
/**/  IsQQ(CoeffRing(R));
true;

See Also