slice
Returns a submatrix of this matrix.
Parameters
startRow
First row to include in the submatrix, inclusive.
endRow
Last row to include in the submatrix, exclusive.
startCol
First column to include in the submatrix, inclusive.
endCol
Last column to include in the submatrix, exclusive.