1 | initial version |
I am not sure about you exact question, but does the following solve your problem:
sage: M[:3].columns() + M[3:].columns()
[(0, 3, 4),
(0, 1, 4),
(5, 5, 6),
(3, 4, 2),
(4, 5, 7),
(2, 4, 5),
(7, 6, 8),
(8, 6, 9)]
2 | No.2 Revision |
I am not sure about you exact question, but does the following solve your problem:
sage: M[:3].columns() + M[3:].columns()
leads to :
[(0, 3, 4),
(0, 1, 4),
(5, 5, 6),
(3, 4, 2),
(4, 5, 7),
(2, 4, 5),
(7, 6, 8),
(8, 6, 9)]
3 | No.3 Revision |
I am not sure about you your exact question, but does the following solve your problem:
M[:3].columns() + M[3:].columns()
leads to :
[(0, 3, 4),
(0, 1, 4),
(5, 5, 6),
(3, 4, 2),
(4, 5, 7),
(2, 4, 5),
(7, 6, 8),
(8, 6, 9)]
4 | No.4 Revision |
I am not sure about your exact question, but does the following solve your problem:
A = M[:3].columns() + M[3:].columns()
M[3:].columns() ; A
leads to :
[(0, 3, 4),
(0, 1, 4),
(5, 5, 6),
(3, 4, 2),
(4, 5, 7),
(2, 4, 5),
(7, 6, 8),
(8, 6, 9)]
So that A[0]
is (0, 3, 4)
, A[1]
is (0, 1, 4)
, and so on.