<p>Comments on lin_alg.hpp/lin_alg.cpp (maybe I can comment on the diffs you linked?  I didn't see an easy way).  Many of my comments may be somewhat pedantic, so, hopefully they are not too annoying...</p>

<ul class="task-list">
<li>Any reason for the name <code>Svec</code>/<code>Smat</code>/<code>SvecIndex</code>?  I'm not recognizing the name.</li>
<li>Inlining <code>SvecIndex()</code> is probably a good idea, though it requires it to be in the header file.</li>
<li>GNU libc provides <code>M_SQRT2</code> and <code>M_SQRT1_2</code>.  If not using GNU libc, you can define it by hand, like in <code>src/mlpack/prereqs.hpp</code> for <code>M_PI</code>.</li>
<li>I haven't thought about how to accelerate <code>SymKronId()</code> but I'm pretty sure it's possible.</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/387#issuecomment-70570722">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFPtIbcITgYqCxqNUh_d3Lf41Q6G3ks5njXklgaJpZM4DTlFe.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/issues/387#issuecomment-70570722"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>