Home > @josh-brown/vector > SparseMatrix > getShape
Returns a tuple representing the dimensions of the matrix. The first entry is the number of rows, and the second entry is the number of columns.
Signature:
getShape(): MatrixShape;Returns:
The shape of the matrix as a tuple