ass="st">&quot;</span>)</span>
<span id="cb6-15"><a href="#cb6-15" tabindex="-1"></a><span class="co">#&gt; Voxel 30 30 20 -&gt; Linear index 79710</span></span></code></pre></div>
</div>
</div>
<div id="memory-efficient-operations" class="section level1">
<h1>Memory-Efficient Operations</h1>
<div id="sparse-representations" class="section level2">
<h2>Sparse Representations</h2>
<p>For data with many zero values (e.g., masks, ROIs):</p>
<div class="sourceCode" id="cb7"><pre class="sourceCode r"><code class