shape property

List<int> get shape

Returns the dimensions of the matrix as a List<int> in the format rowCount, columnCount.

Implementation

List<int> get shape => [rowCount, columnCount];