Document ind2sub and sub2ind