How to reference sub-matrices within a matrix
<p>I have an nxn matrix A where n is a power of 2. The matrix A is divided into 4 equal sized sub-matrices. How can I reference matrices the sub-matrices A11, A12, A21 and A22 in java? I am attempting a divide and conquer matrix multiplication algorithm (Strassen)</p>

<pre><code>            A11 | A12
   A --&gt;    ---------
            A21 | A22
</code></pre>

<p>EDIT: The matrix is stored as integer array: int[][].</p>
