up previous next
IsIndet    --    check if argument is an indeterminate


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

See Also