an> idxs2;</span>
<span id="cb8-6"><a href="#cb8-6" aria-hidden="true" tabindex="-1"></a><span class="co">// ... define: idxs2 = (1, 3)</span></span>
<span id="cb8-7"><a href="#cb8-7" aria-hidden="true" tabindex="-1"></a><span class="dt">array</span>[<span class="dv">3</span>, <span class="dv">2</span>] <span class="dt">int</span> d;</span>
<span id="cb8-8"><a href="#cb8-8" aria-hidden="true" tabindex="-1"></a>d = c[idxs1, idxs2];  <span class="co">// result: d = ((7, 13), (7, 13), (1, 5))</span></span></co