Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 587 Bytes

File metadata and controls

19 lines (11 loc) · 587 Bytes

Home > @josh-brown/vector > SparseMatrix > getShape

SparseMatrix.getShape() method

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:

MatrixShape

The shape of the matrix as a tuple