 print(&#39;mat_prod\n&#39;, mat_prod)</span>
        <span class="n">err</span> <span class="o">=</span> <span class="n">np</span><span class="o">.</span><span class="n">linalg</span><span class="o">.</span><span class="n">norm</span><span class="p">(</span><span class="n">mat</span> <span class="o">-</span> <span class="n">mat_prod</span><span class="p">)</span>
        <span class="nb">print</span><span class="p">(</span><span class="s1">&#39;err=&#39;</span><span class="p">,</span> <span class="n">err</