<p>Polynomials with floating-point coefficients may be manipulated in <strong class="pkg">GAP</strong>; though they behave, in subtle ways, quite differently than polynomials over rings. A "pseudo-field" of floating-point numbers is available to create them using the standard <strongclass="pkg">GAP</strong> syntax.</p>
<div class="func"><table class="func" width="100%"><tr><td class="tdleft"><code class="func">‣ FLOAT_PSEUDOFIELD</code></td><td class="tdright">( global variable )</td></tr></table></div>
<p>The "pseudo-field" of floating-point numbers, containing all floating-point numbers in the current implementation.</p>
<p>Note that it is not really a field, e.g. because addition of floating-point numbers is not associative. It is mainly used to create indeterminates, as in the following example:</p>
<p>The PSLQ algorithm has been implemented by Steve A. Linton, as an external contribution to <strong class="pkg">Float</strong>. This algorithm receives as input a vector of floats <span class="SimpleMath">\(x\)</span> and a required precision <span class="SimpleMath">\(\epsilon\)</span>, and seeks an integer vector <span class="SimpleMath">\(v\)</span> such that <span class="SimpleMath">\(|x\cdot v|<\epsilon\)</span>. The implementation follows quite closely the original article <a href="chapBib_mj.html#biBMR1836930">[BB01]</a>.</p>
<p>The PSLQ algorithm by Bailey and Broadhurst (see <a href="chapBib_mj.html#biBMR1836930">[BB01]</a>) searches for an integer relation between the entries in <span class="SimpleMath">\(x\)</span>.</p>
<p><span class="SimpleMath">\(\beta\)</span> and <span class="SimpleMath">\(\gamma\)</span> are algorithm tuning parameters, and default to <span class="SimpleMath">\(4/10\)</span> and <span class="SimpleMath">\(2/\sqrt(3)\)</span> respectively.</p>
<p>The second form implements the "Multi-pair" variant of the algorithm, which is better suited to parallelization.</p>
<p>A faster implementation of the LLL lattice reduction algorithm has also been implemented. It is accessible via the commands <code class="code">FPLLLReducedBasis(m)</code> and <code class="code">FPLLLShortestVector(m)</code>.</p>
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.