up previous next
IsIndet

checks argument is an indetermiante

Syntax
IsIndet(X: RINGELEM): BOOL

Description
This function tests whether X is an indeterminate. If so, it returns true ; otherwise it returns false . An error is signalled if X is not a RINGELEM or if RingOf(X) is not a polynomial ring.

Example
/**/  Use QQ[x,y,z];
/**/  IsIndet(x);
true
/**/  IsIndet(x-1);
false