Ask Your Question

Duaa's profile - activity

2022-10-25 20:35:01 +0200 received badge  Popular Question (source)
2017-12-08 16:15:08 +0200 received badge  Student (source)
2017-12-07 01:35:49 +0200 asked a question Running Error in my program

In my research I need to find some property of non_commuting graph of a special linear group SL(3,q)

      sage: G=SL(3,4) 
      sage: G.order()
      sage: E=G.list()
      sage: Z=G.center()
      sage: A=matrix(G.order())
      sage: for i in range(G.order()):
                    for j in range(G.order()):
                         if E[i]*E[j]<>E[j]*E[i]:
                               A[i,j]=1
      sage: graph=Graph(A
      sage: for j in range(G.order()):
                   if E[i].matrix()==Z[j]:
                         graph.delete_vertex(i)
      sage: I=graph.independent_set()
      sage: len(I)
      sage: cv=graph.vertexvover()
      sage: len(cv)
      sage: graph.clique_number()
      sage: graph.chromatic_number`

but I have problem with large data size . How can write these program to avoid the problem .

2017-08-21 01:46:59 +0200 answered a question solve memory problem in my program

Thank you . but I need to fined some properties of the non_commuting graph of the group SL(3,q) like independent number, vertex chromatic number and so on. So I am interesting of this graph.

2017-08-21 01:46:45 +0200 commented question solve memory problem in my program

Thank you . but I need to fined some properties of the non_commuting graph of the group SL(3,q) like independent number, vertex chromatic number and so on. So I am interesting of this graph.

2017-08-18 19:30:48 +0200 asked a question solve memory problem in my program

in this program I have memory error

The program is:

sage: G=SL(3,GF(3)) sage: G.order() sage: element=G sage: Z=G.center() sage: A=matrix(G.order())

sage: for i in range( G.order()): for j in range(G.order()): if element[i]element[j]<>element[j]element[i]: A[i,j]=1 sage: graph=Graph(A);graph

graph memory error

pleace, we can help me for my resarch.