up previous next
NC.AdMatrix

Construct an adjacency matrix of the Ufnarovski graph for a finite set of words in a non-commutative polynomial ring.
Syntax
          
NC.AdMatrix(M:LIST):LIST

          

Description
Please note: The function(s) explained on this page is/are using the ApCoCoAServer. You will have to start the ApCoCoAServer in order to use it/them.

Please set non-commutative polynomial ring (via the command Use) before calling this function. For more information, please check the relevant commands and functions.

Example
Use ZZ/(2)[x[1..3]];
M:=[[x[3]^3], [x[1], x[2]], [x[2]^2], [x[1]^2], [x[2], x[3], x[1]], 
[x[1], x[3], x[1]], [x[1], x[3]^2], [x[2], x[3], x[2], x[3]], [x[1], 
x[3], x[2], x[3]]];
NC.AdMatrix(M);

[[[x[3], x[2], x[1]], [x[3]^2, x[1]], [x[1], x[3], x[2]], [x[2], x[3], x[2]], 
[x[3]^2, x[2]], [x[2], x[1], x[3]], [x[3], x[1], x[3]], [x[3], x[2], x[3]], 
[x[2], x[3]^2]], Mat([
  [0, 0, 0, 0, 0, 1, 0, 0, 0],
  [0, 0, 0, 0, 0, 0, 1, 0, 0],
  [1, 0, 0, 0, 0, 0, 0, 0, 0],
  [1, 0, 0, 0, 0, 0, 0, 0, 0],
  [1, 0, 0, 0, 0, 0, 0, 1, 0],
  [0, 0, 1, 0, 0, 0, 0, 0, 0],
  [0, 0, 1, 0, 0, 0, 0, 0, 0],
  [0, 0, 0, 1, 0, 0, 0, 0, 1],
  [0, 1, 0, 0, 1, 0, 0, 0, 0]
])]
-------------------------------


See Also