Question: How do I compute the rank of adjacent matrix of ''G1:=NonIsomorphicGraphs(5, output = graphs, outputform = adjacency)''

Hello everyone !

 when I use  the command   ''G1:=NonIsomorphicGraphs(5, output = graphs, outputform = adjacency)''  , I want to compute the   rank of   adjacent  matrices of 

every graph in  G1,. I try to do , but maple  retutn false:

Rank(G1);
Error, invalid input: too many and/or wrong type of arguments passed to LinearAlgebra:-Rank; first unused argument is Matrix(5, 5, {(1, 1) = 0, (1, 2) = 1, (1, 3) = 1, (1, 4) = 1, (1, 5) = 1, (2, 2) = 0, (2, 3) = 1, (2, 4) = 1, (2, 5) = 1, (3, 3) = 0, (3, 4) = 1, (3, 5) = 1, (4, 4) = 0, (4, 5) = 1, (5, 5) = 0}, datatype = integer[1], storage = triangular[upper], shape = [symmetric])

  How to achieve it , I do not konw to  invoke these adjacent matrices . Would someboby 

give me a hand. 

Thanks very much!


 

 

 

Please Wait...