else:</span>
<span class="sd">                break</span>
<span class="sd">            &quot;&quot;&quot;</span>

        <span class="k">return</span> <span class="n">x</span>

    <span class="c1"># NOTE: Standard Algorithm, e.g. Tropp, ``Greed is Good: Algorithmic Results for Sparse Approximation,&quot; IEEE Trans. Info. Theory, 2004.</span>
    <span class="k">def</span> <span class="nf">orthogonalmp_reg_parallel</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span c