getRows

public int getRows()

This returns the number of rows of the Matrix, as determined by the length of the 2D Array. If the Matrix/2D Array is not rectangular, issues arise.

Return

returns the number of rows in the Matrix