Sharedsupport / 2016-05-07-065620-subdivide.sagewsOpen in CoCalc
Examples for support purposes...
A = matrix(2, 2, [1, 2, 3, 4]); A
A.subdivide(1, 1)
[1 2] [3 4]
A
[1|2] [-+-] [3|4]
show(A)
(1234)\displaystyle \left(\begin{array}{r|r} 1 & 2 \\ \hline 3 & 4 \end{array}\right)