UnDeclareNonCommutative[a, b, ...]
undeclares a,b, ...
to be noncommutative, i.e., DataType[a,b, ..., NonCommutative]
is set to False
.
Overview, DataType, DeclareNonCommutative.
[x] DeclareNonCommutative
As a side-effect of DeclareNonCommutative x is declared to be of DataType NonCommutative.
[x, NonCommutative] DataType
\text{True}
The inverse operation is UnDeclareNonCommutative.
[x]
UnDeclareNonCommutative
[x, NonCommutative] DataType
\text{False}
[y, z]
DeclareNonCommutative
[y, z, NonCommutative] DataType
\{\text{True},\text{True}\}
[y, z]
UnDeclareNonCommutative
[y, z, NonCommutative] DataType
\{\text{False},\text{False}\}