Home Online Manual
Top
Back: isCentral
Forward: isCommutative
FastBack:
FastForward:
Up: nctools_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document
7.5.14.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);
setring a;
isNC();
==> 1
kill a;
ring r = 17,(x(1..7)),dp;
isNC();
==> 0
kill r;