| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>pypdevsbbl.extra.equations module — Python(P)DEVS-BBL documentation</title>
- <link rel="stylesheet" href="_static/nature.css" type="text/css" />
- <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
- <link rel="stylesheet" type="text/css" href="_static/custom.css" />
- <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
- <script type="text/javascript" src="_static/jquery.js"></script>
- <script type="text/javascript" src="_static/underscore.js"></script>
- <script type="text/javascript" src="_static/doctools.js"></script>
- <script type="text/javascript" src="_static/language_data.js"></script>
- <script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
- <link rel="index" title="Index" href="genindex.html" />
- <link rel="search" title="Search" href="search.html" />
- <link rel="next" title="pypdevsbbl.extra.fileutils module" href="pypdevsbbl.extra.fileutils.html" />
- <link rel="prev" title="pypdevsbbl.extra.rngstreams.distributions module" href="pypdevsbbl.extra.rngstreams.distributions.html" />
- </head><body>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="pypdevsbbl.extra.fileutils.html" title="pypdevsbbl.extra.fileutils module"
- accesskey="N">next</a> |</li>
- <li class="right" >
- <a href="pypdevsbbl.extra.rngstreams.distributions.html" title="pypdevsbbl.extra.rngstreams.distributions module"
- accesskey="P">previous</a> |</li>
- <li class="nav-item nav-item-0"><a href="index.html">Python(P)DEVS-BBL documentation</a> »</li>
- <li class="nav-item nav-item-1"><a href="pypdevsbbl.html" >pypdevsbbl package</a> »</li>
- <li class="nav-item nav-item-2"><a href="pypdevsbbl.extra.html" accesskey="U">pypdevsbbl.extra package</a> »</li>
- </ul>
- </div>
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <div class="section" id="module-pypdevsbbl.extra.equations">
- <span id="pypdevsbbl-extra-equations-module"></span><h1>pypdevsbbl.extra.equations module<a class="headerlink" href="#module-pypdevsbbl.extra.equations" title="Permalink to this headline">¶</a></h1>
- <p>This file contains a set of mathematical equations as functions.</p>
- <p>These equations can be used as an input for the <a class="reference internal" href="pypdevsbbl.generic.math.html#pypdevsbbl.generic.math.Equation" title="pypdevsbbl.generic.math.Equation"><code class="xref py py-class docutils literal notranslate"><span class="pre">pypdevsbbl.generic.math.Equation</span></code></a>
- block for simplicity.</p>
- <div class="admonition note">
- <p class="first admonition-title">Note</p>
- <p class="last">The described functions were written with the idea of numerical values as
- inputs. While it is advised to refrain from using non-numerical arguments,
- it is allowed within <em>Python</em>. There are no guarantees on what might happen
- if you decide to use non-numeric input.</p>
- </div>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.SUBTRACT">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">SUBTRACT</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#SUBTRACT"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.SUBTRACT" title="Permalink to this definition">¶</a></dt>
- <dd><p>Subtracts two values.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The value to subtract from.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The value that subtracts.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x - y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.DIVIDE">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">DIVIDE</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#DIVIDE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.DIVIDE" title="Permalink to this definition">¶</a></dt>
- <dd><p>Divides two values.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The numerator.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The denominator.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(\dfrac{x}{y}\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.IDIVIDE">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">IDIVIDE</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#IDIVIDE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.IDIVIDE" title="Permalink to this definition">¶</a></dt>
- <dd><p>Integer divides two values.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The numerator.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The denominator.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(\left\lfloor\dfrac{x}{y}\right\rfloor\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.MODULO">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">MODULO</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#MODULO"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.MODULO" title="Permalink to this definition">¶</a></dt>
- <dd><p>Modulo divides two values.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The numerator.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The denominator.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x \textrm{ mod } y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.NEGATE">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">NEGATE</code><span class="sig-paren">(</span><em>x</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#NEGATE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.NEGATE" title="Permalink to this definition">¶</a></dt>
- <dd><p>Negates a value.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> (<em>numeric</em>) – The value to negate.</td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><span class="math notranslate nohighlight">\(- x\)</span></td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.INVERT">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">INVERT</code><span class="sig-paren">(</span><em>x</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#INVERT"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.INVERT" title="Permalink to this definition">¶</a></dt>
- <dd><p>Inverts a value.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> (<em>numeric</em>) – The value to invert.</td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><span class="math notranslate nohighlight">\(\dfrac{1}{x}\)</span></td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.POWER">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">POWER</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#POWER"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.POWER" title="Permalink to this definition">¶</a></dt>
- <dd><p>Raises x to the power of y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The base.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The power.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x^y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.AND">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">AND</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#AND"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.AND" title="Permalink to this definition">¶</a></dt>
- <dd><p>Boolean AND gate between x and y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The left hand side of the gate.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The right hand side of the gate.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x \textrm{ AND } y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.OR">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">OR</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#OR"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.OR" title="Permalink to this definition">¶</a></dt>
- <dd><p>Boolean OR gate between x and y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The left hand side of the gate.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The right hand side of the gate.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x \textrm{ OR } y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.BAND">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">BAND</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#BAND"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.BAND" title="Permalink to this definition">¶</a></dt>
- <dd><p>Bitwise AND gate between x and y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The left hand side of the gate.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The right hand side of the gate.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x \textrm{ & } y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.BOR">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">BOR</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#BOR"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.BOR" title="Permalink to this definition">¶</a></dt>
- <dd><p>Bitwise OR gate between x and y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The left hand side of the gate.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The right hand side of the gate.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x \textrm{ | } y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.NOT">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">NOT</code><span class="sig-paren">(</span><em>x</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#NOT"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.NOT" title="Permalink to this definition">¶</a></dt>
- <dd><p>Boolean NOT gate of x.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>x</strong> (<em>numeric</em>) – The value to invert.</td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><span class="math notranslate nohighlight">\(\textrm{NOT } x\)</span></td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.XOR">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">XOR</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#XOR"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.XOR" title="Permalink to this definition">¶</a></dt>
- <dd><p>The XOR gate between x and y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The left hand side of the gate.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The right hand side of the gate.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x \textrm{ XOR } y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.NOR">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">NOR</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#NOR"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.NOR" title="Permalink to this definition">¶</a></dt>
- <dd><p>The NOR gate between x and y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The left hand side of the gate.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The right hand side of the gate.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x \textrm{ NOR } y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.XNOR">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">XNOR</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#XNOR"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.XNOR" title="Permalink to this definition">¶</a></dt>
- <dd><p>The XNOR or XAND gate between x and y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The left hand side of the gate.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The right hand side of the gate.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x \textrm{ XNOR } y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.LT">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">LT</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#LT"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.LT" title="Permalink to this definition">¶</a></dt>
- <dd><p>Checks if x is less than y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The smaller value.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The larger value.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x < y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.LE">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">LE</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#LE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.LE" title="Permalink to this definition">¶</a></dt>
- <dd><p>Checks if x is less than or equal to y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The smaller value.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The larger value.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x \leq y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.LEQ">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">LEQ</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="headerlink" href="#pypdevsbbl.extra.equations.LEQ" title="Permalink to this definition">¶</a></dt>
- <dd><p>Synonym of <a class="reference internal" href="#pypdevsbbl.extra.equations.LE" title="pypdevsbbl.extra.equations.LE"><code class="xref py py-meth docutils literal notranslate"><span class="pre">LE()</span></code></a>.</p>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.GT">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">GT</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#GT"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.GT" title="Permalink to this definition">¶</a></dt>
- <dd><p>Checks if x is greater than y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The larger value.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The smaller value.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x > y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.GE">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">GE</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#GE"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.GE" title="Permalink to this definition">¶</a></dt>
- <dd><p>Checks if x is greater than or equal to y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The larger value.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The smaller value.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x \geq y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.GEQ">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">GEQ</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="headerlink" href="#pypdevsbbl.extra.equations.GEQ" title="Permalink to this definition">¶</a></dt>
- <dd><p>Synonym of <a class="reference internal" href="#pypdevsbbl.extra.equations.GE" title="pypdevsbbl.extra.equations.GE"><code class="xref py py-meth docutils literal notranslate"><span class="pre">GE()</span></code></a>.</p>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.EQ">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">EQ</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#EQ"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.EQ" title="Permalink to this definition">¶</a></dt>
- <dd><p>Checks if x equals y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The left hand side.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The right hand side.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x == y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.EQUALS">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">EQUALS</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="headerlink" href="#pypdevsbbl.extra.equations.EQUALS" title="Permalink to this definition">¶</a></dt>
- <dd><p>Synonym of <a class="reference internal" href="#pypdevsbbl.extra.equations.EQ" title="pypdevsbbl.extra.equations.EQ"><code class="xref py py-meth docutils literal notranslate"><span class="pre">EQ()</span></code></a>.</p>
- </dd></dl>
- <dl class="function">
- <dt id="pypdevsbbl.extra.equations.IDENTICAL">
- <code class="descclassname">pypdevsbbl.extra.equations.</code><code class="descname">IDENTICAL</code><span class="sig-paren">(</span><em>x</em>, <em>y</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/pypdevsbbl/extra/equations.html#IDENTICAL"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pypdevsbbl.extra.equations.IDENTICAL" title="Permalink to this definition">¶</a></dt>
- <dd><p>Checks if x is identical to y.</p>
- <table class="docutils field-list" frame="void" rules="none">
- <col class="field-name" />
- <col class="field-body" />
- <tbody valign="top">
- <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
- <li><strong>x</strong> (<em>numeric</em>) – The left hand side.</li>
- <li><strong>y</strong> (<em>numeric</em>) – The right hand side.</li>
- </ul>
- </td>
- </tr>
- <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first last"><span class="math notranslate nohighlight">\(x \textrm{ is } y\)</span></p>
- </td>
- </tr>
- </tbody>
- </table>
- </dd></dl>
- </div>
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper">
- <h4>Previous topic</h4>
- <p class="topless"><a href="pypdevsbbl.extra.rngstreams.distributions.html"
- title="previous chapter">pypdevsbbl.extra.rngstreams.distributions module</a></p>
- <h4>Next topic</h4>
- <p class="topless"><a href="pypdevsbbl.extra.fileutils.html"
- title="next chapter">pypdevsbbl.extra.fileutils module</a></p>
- <div id="searchbox" style="display: none" role="search">
- <h3>Quick search</h3>
- <div class="searchformwrapper">
- <form class="search" action="search.html" method="get">
- <input type="text" name="q" />
- <input type="submit" value="Go" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- </div>
- </div>
- <script type="text/javascript">$('#searchbox').show(0);</script>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="genindex.html" title="General Index"
- >index</a></li>
- <li class="right" >
- <a href="py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="pypdevsbbl.extra.fileutils.html" title="pypdevsbbl.extra.fileutils module"
- >next</a> |</li>
- <li class="right" >
- <a href="pypdevsbbl.extra.rngstreams.distributions.html" title="pypdevsbbl.extra.rngstreams.distributions module"
- >previous</a> |</li>
- <li class="nav-item nav-item-0"><a href="index.html">Python(P)DEVS-BBL documentation</a> »</li>
- <li class="nav-item nav-item-1"><a href="pypdevsbbl.html" >pypdevsbbl package</a> »</li>
- <li class="nav-item nav-item-2"><a href="pypdevsbbl.extra.html" >pypdevsbbl.extra package</a> »</li>
- </ul>
- </div>
- <div class="footer" role="contentinfo">
- © Copyright 2020, Randy Paredis.
- Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.8.5.
- </div>
- </body>
- </html>
|