<p>In <a href="https://github.com/mlpack/mlpack/pull/374#discussion-diff-22743679">src/mlpack/methods/matrix_completion/matrix_completion.hpp</a>:</p>
<pre style='color:#555'>&gt; + *
&gt; + * An example of how to use this class is shown below:
&gt; + *
&gt; + * @code
&gt; + * size_t m, n;        // size of unknown matrix
&gt; + * arma::umat indices; // contains the known indices [2 x n_entries]
&gt; + * arma::vec values;   // contains the known values [n_entries]
&gt; + *
&gt; + * MatrixCompletion mc(m, n, indices, values);
&gt; + * mc.Recover();
&gt; + * mc.Recovered();     // access completed matrix
&gt; + * @endcode
&gt; + *
&gt; + * @see LRSDP
&gt; + */
&gt; +class MatrixCompletion
</pre>
<p>You mentioned you're writing an interior-point solver for SDPs... I think once you do that, we can templatize this, which would be really cool:</p>

<pre><code>template&lt;typename SDPSolverType = LRSDP&gt; // Or default to the interior point solver, whichever seems to be more robust.
class MatrixCompletion;
</code></pre>

<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/pull/374/files#r22743679">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFNFL8ibvf_4Z937GncZLgRw1m033ks5ngD0fgaJpZM4DOLPX.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/374/files#r22743679"></link>
    <meta itemprop="name" content="View Pull Request"></meta>
  </div>
  <meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>