, <span class="va">window</span><span class="op">)</span></span></code></pre></div>
    </div>

    <div id="arguments">
    <h2>Arguments</h2>
    <dl><dt>mat</dt>
<dd><p>an array (cube)</p></dd>


<dt>window</dt>
<dd><p>a numeric matrix (squared)</p></dd>

</dl></div>
    <div id="value">
    <h2>Value</h2>
    

<p>a matrix with the euclidean distance of each cell to
its neighbours.</p>
    </div>

  </div>
  <div class="col-md-3 hidden-xs hidden-sm" id="pkgdown-sidebar">
    <nav id="toc" data-toggle="t