<div dir="ltr"><div>I have two matrices: matrix A is 4n x 4n and matrix C is n x n. I want to set the values of A using the values of C, like this:<br></div><div><br></div><div>A[4i+k][4j+k] = C[i][j]</div><div>0 < i < n</div>

<div>0 < j < n</div><div>0 < k < 3</div><div><br></div><div>How can I do this efficiently?</div><div><br></div></div>