up previous next
checks argument is an indetermiante
IsIndet(X: RINGELEM): BOOL |
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.
/**/ Use QQ[x,y,z];
/**/ IsIndet(x);
true
/**/ IsIndet(x-1);
false
|