CoCalc -- Collaborative Calculation in the Cloud
Sharedsupport / 2015-08-25-134113-matrix.sagewsOpen in CoCalc

Examples for support purposes...

A = matrix(QQ, 5)
A
[0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0] [0 0 0 0 0]
show(A)
(0000000000000000000000000)\displaystyle \left(\begin{array}{rrrrr} 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & 0 & 0 \end{array}\right)
random_matrix(QQ,3)
[ -1 1 0] [ 0 1 0] [-1/2 1 -1]