A=matrix(GF(q),[[0,0,0],[1,1,0],[0,1,1],[1,0,1]])
E=A.echelon_form()
Given matrix E,
[1 0 1]
[0 1 1]
[0 0 0]
[0 0 0]
How can I delete the all zero rows (rows 2 and 3) for
all any entry of a matrix. I tried the for loop below, but it
doesn't store any of the values and only gives one lines. Please Help!
for i in range(-1,A.rank()-1):
i=i+1
G=E.matrix_from_rows([i])
G
[0 1 1]
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.