Insert one matrix into another

insert_block(dest, orig, rowinds, colinds)

Arguments

dest

destination matrix

orig

origin matrix

rowinds

vector of row indices

colinds

vector of column indices

Value

copy the elements of one matrix into another.