<p>In <a href="https://github.com/mlpack/mlpack/pull/742#discussion_r72761093">src/mlpack/methods/preprocess/preprocess_describe_main.cpp</a>:</p>
<pre style='color:#555'>> +}
> +/**
> + * Calculates Skewness of the given vector.
> + *
> + * @param input Vector that captures a dimension of a dataset
> + * @param rowStd Standard Deviation of the given vector.
> + * @param rowMean Mean of the given vector.
> + * @return Skewness of the given vector.
> + */
> +double Skewness(const arma::rowvec& input,
> + const double& rowStd,
> + const double& rowMean,
> + const bool population)
> +{
> + double skewness = 0;
> + double S3 = pow(rowStd, 3);
</pre>
<p>good candidate for const</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<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/742/files/27ac82e876c3d68637d9e72d28bf0dadbc229ace#r72761093">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFGErHBnok8tQJn-MY1S0vwbgMWraks5qacBtgaJpZM4JWax8">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFLfsw5U5QVB9nW3iKfTUqL4AlXOdks5qacBtgaJpZM4JWax8.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/742/files/27ac82e876c3d68637d9e72d28bf0dadbc229ace#r72761093"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>