<p>In <a href="https://github.com/mlpack/mlpack/pull/683#discussion_r66475381">src/mlpack/methods/edge_boxes/feature_extraction_impl.hpp</a>:</p>
<pre style='color:#555'>&gt; +      double const y2_cross_x = y_diff_2 * x_diff;
&gt; +      double const y_cross_x2 = y_diff * x_diff_2;
&gt; +      double const y_cross_x = y_diff * x_diff;
&gt; +      dst(row, col) = y2_cross_x2 * src(y, x) +
&gt; +              y2_cross_x * src(y, x + 1) +
&gt; +              y_cross_x2 * src(y + 1, x) +
&gt; +              y_cross_x * src(y + 1, x + 1);
&gt; +    }
&gt; +  }
&gt; +
&gt; +  return dst;
&gt; +}
&gt; +
&gt; +template&lt;typename MatType, typename CubeType&gt;
&gt; +CubeType StructuredForests&lt;MatType, CubeType&gt;::
&gt; +sepFilter2D(CubeType&amp; InImage, arma::vec&amp; kernel, int radius)
</pre>
<p><code>sepFilter2D(CubeType&amp; InImage, const arma::vec &amp;kernel, const int radius)</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/683/files/9d85b64c6c6bdff608331195351d09abf56cfc96#r66475381">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFF6eSEpq7rT_fZzAe4rjNRMvNju8ks5qKEAcgaJpZM4IvUrl">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFCk25jahhRsZcxQ_uVLUgMoKk0Fbks5qKEAcgaJpZM4IvUrl.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/pull/683/files/9d85b64c6c6bdff608331195351d09abf56cfc96#r66475381"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>