(</span><span class="n">C_ij</span><span class="p">)</span>
                <span class="n">K_ij</span><span class="p">[</span><span class="n">i</span><span class="p">,</span> <span class="n">j</span><span class="p">]</span> <span class="o">=</span> <span class="n">k_ij</span>

                <span class="c1"># Save data also on lower triangular part for symmetric matrices</span>
                <span class="k">if</span> <span class="n">symmetric</span> <span class="ow">and</span> <span class="n">j</span> 