setSubmatrix

Unit setSubmatrix(Integer rowIndexStart, Integer rowIndexEnd, Integer colIndexStart, Integer colIndexEnd, Matrix other)

Set a submatrix by substituting other to desired position. The shape of other must match the position you described.

Parameters

rowIndexStart

row index starting point.

rowIndexEnd

row index ending point. (not included)

colIndexStart

column index starting point.

colIndexEnd

column index ending point. (not included)

other

new submatrix.