Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to find the graphs from the following collection whose determinant is maximum?

for g in graphs.nauty_geng("7 -c"):
A=g.adjacency_matrix().determinant()
if A!=0:
    g.show()
    show(A)

How to find the graphs from the following collection whose determinant is maximum?

for g in graphs.nauty_geng("7 -c"): A=g.adjacency_matrix().determinant() if A!=0: g.show() show(A)

show(A)

Here determinant is absolute value of the determinant.

How to find the graphs from the following collection whose determinant is maximum?

for g in graphs.nauty_geng("7 -c"): A=g.adjacency_matrix().determinant() if A!=0: g.show() show(A)

Here determinant is absolute value of the determinant.

How to find the graphs from the following collection whose determinant is maximum?

for g in graphs.nauty_geng("7 -c"): A=g.adjacency_matrix().determinant() if A!=0: g.show() show(A)

How to find the graphs from the following collection whose determinant is maximum?

for g in graphs.nauty_geng("7 -c"): A=g.adjacency_matrix().determinant() if A!=0: g.show() show(A)

How to find the graphs from the following collection whose determinant is maximum?

for g in graphs.nauty_geng("7 -c"): if g.size()==9 A=g.adjacency_matrix().determinant() if A!=0: g.show() show(A)

click to hide/show revision 7
None

updated 0 years ago

Max Alekseyev gravatar image

How to find the graphs from the following collection whose determinant is maximum?

.

for g in graphs.nauty_geng("7 -c"):
    if g.size()==9
    A=g.adjacency_matrix().determinant()
    if A!=0:
      g.show()
      show(A)

show(A)