<span id="the-libdisk-module"></span><h1>the libdisk module<a class="headerlink" href="#module-pNbody.libdisk" title="Permalink to this headline">¶</a></h1>
<dl class="function">
<dt id="pNbody.libdisk.Diff">
<tt class="descclassname">pNbody.libdisk.</tt><tt class="descname">Diff</tt><big>(</big><em>f</em>, <em>x</em>, <em>s=None</em>, <em>k=2</em><big>)</big><a class="headerlink" href="#pNbody.libdisk.Diff" title="Permalink to this definition">¶</a></dt>
<dd><p>First derivative of f(x)</p>
</dd></dl>
<dl class="function">
<dt id="pNbody.libdisk.get_Integral">
<tt class="descclassname">pNbody.libdisk.</tt><tt class="descname">get_Integral</tt><big>(</big><em>v</em>, <em>dr</em>, <em>ia</em>, <em>ib</em><big>)</big><a class="headerlink" href="#pNbody.libdisk.get_Integral" title="Permalink to this definition">¶</a></dt>
<dd><p>Integrate the vector v, between ia and ib, using trapezes.</p>
<p>v : values of cells (must be 1 dimensional)
dr : corresponding physical size of cells
ia : lower real indice WARNING : the indicies must now be integer !!!
ib : higher real indice WARNING : the indicies must now be integer !!!</p>