|
7.5.7.0. isNC
Procedure from library nctools.lib (see nctools_lib).
- Usage:
- isNC();
- Purpose:
- check whether a basering is commutative or not
- Return:
- int, 1 if basering is noncommutative and 0 otherwise
Example:
| LIB "nctools.lib";
def a = makeWeyl(2);
==> // characteristic : 0
==> // number of vars : 4
==> // block 1 : ordering dp
==> // : names x(1) x(2) D(1) D(2)
==> // block 2 : ordering C
==> // noncommutative relations: ...
setring a;
isNC();
==> 0
kill a;
ring r = 17,(x(1..7)),dp;
isNC();
==> 0
kill r;
|
|