src/utils/matrix/AbstractMatrix.java
public Matrix slice(int startRow, int startColumn, int endRow, int endColumn) throws MatrixException {
        Matrix referenceMatrix = reference();
        referenceMatrix.sliceAt(startRow, startColumn, endRow, endColumn);
        return referenceMatrix;
    }
/**
     * Slices current matrix.
     *
     * @param startRow start row of slice.
     * @param startColumn start column of slice.
     * @param endRow  end row of slice.
     * @param endColumn  end column of slice.
     * @return sliced matrix.
     * @throws MatrixException throws exception if slicing fails.
     */
Slices current matrix.

@param startRow start row of slice.
@param startColumn start column of slice.
@param endRow  end row of slice.
@param endColumn  end column of slice.
@return sliced matrix.
@throws MatrixException throws exception if slicing fails.
Slices current matrix . @param startRow start row of slice . @param startColumn start column of slice . @param endRow end row of slice . @param endColumn end column of slice . @return sliced matrix . @throws MatrixException throws exception if slicing fails .
public Matrix slice(int startRow, int startColumn, int endRow, int endColumn) throws MatrixException {
        Matrix referenceMatrix = reference();
        referenceMatrix.sliceAt(startRow, startColumn, endRow, endColumn);
        return referenceMatrix;
    }
public Matrix slice ( int startRow , int startColumn , int endRow , int endColumn ) throws MatrixException { Matrix referenceMatrix = reference ( ) ; referenceMatrix . sliceAt ( startRow , startColumn , endRow , endColumn ) ; return referenceMatrix ; }
Slices current matrix.
Slices current matrix .