123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <head>
- <title>Manual for advtrains_doc_integration</title>
- <link rel="stylesheet" href="../ldoc.css" type="text/css" />
- </head>
- <body>
- <div id="container">
- <div id="product">
- <div id="product_logo"></div>
- <div id="product_name"><big><b></b></big></div>
- <div id="product_description"></div>
- </div> <!-- id="product" -->
- <div id="main">
- <!-- Menu -->
- <div id="navigation">
- <br/>
- <h1>Documentation System Integration for Advtrains</h1>
- <ul>
- <li><a href="../index.html">Index</a></li>
- </ul>
- <h2>Contents</h2>
- <ul>
- <li><a href="#Functions">Functions</a></li>
- </ul>
- <h2>Modules</h2>
- <ul class="nowrap">
- <li><a href="../modules/advtrains_doc_integration.bc.html">advtrains_doc_integration.bc</a></li>
- <li><a href="../modules/advtrains_doc_integration.describe.html">advtrains_doc_integration.describe</a></li>
- <li><a href="../modules/advtrains_doc_integration.hypertext.html">advtrains_doc_integration.hypertext</a></li>
- <li><a href="../modules/advtrains_doc_integration.html">advtrains_doc_integration</a></li>
- <li><a href="../modules/advtrains_doc_integration.latex.html">advtrains_doc_integration.latex</a></li>
- <li><strong>advtrains_doc_integration.mathutils</strong></li>
- <li><a href="../modules/advtrains_doc_integration.utils.html">advtrains_doc_integration.utils</a></li>
- </ul>
- <h2>Topics</h2>
- <ul class="">
- <li><a href="../topics/README.md.html">README</a></li>
- </ul>
- </div>
- <div id="content">
- <h1>Module <code>advtrains_doc_integration.mathutils</code></h1>
- <p>Math utilities.</p>
- <p>
- </p>
- <h2><a href="#Functions">Functions</a></h2>
- <table class="function_list">
- <tr>
- <td class="name" nowrap><a href="#gcd">gcd (...)</a></td>
- <td class="summary">Compute the greatest common divider.</td>
- </tr>
- <tr>
- <td class="name" nowrap><a href="#reduce_fraction">reduce_fraction (num, denom)</a></td>
- <td class="summary">Reduce a fraction.</td>
- </tr>
- </table>
- <br/>
- <br/>
- <h2 class="section-header "><a name="Functions"></a>Functions</h2>
- <dl class="function">
- <dt>
- <a name = "gcd"></a>
- <strong>gcd (...)</strong>
- </dt>
- <dd>
- Compute the greatest common divider.
- Note that the behavior of this function is undefined if the arguments
- include infinity or NaN.
- <h3>Parameters:</h3>
- <ul>
- <li><span class="parameter">...</span>
- <span class="types"><span class="type">integer</span></span>
- The numbers used for the computation.
- </li>
- </ul>
- <h3>Returns:</h3>
- <ol>
- <span class="types"><span class="type">integer</span></span>
- The GCD of the given numbers.
- </ol>
- </dd>
- <dt>
- <a name = "reduce_fraction"></a>
- <strong>reduce_fraction (num, denom)</strong>
- </dt>
- <dd>
- Reduce a fraction.
- <h3>Parameters:</h3>
- <ul>
- <li><span class="parameter">num</span>
- <span class="types"><span class="type">integer</span></span>
- The numerator.
- </li>
- <li><span class="parameter">denom</span>
- <span class="types"><span class="type">integer</span></span>
- The denominator.
- </li>
- </ul>
- <h3>Returns:</h3>
- <ol>
- <span class="types"><span class="type">int,int</span></span>
- The reduced fraction.
- </ol>
- </dd>
- </dl>
- </div> <!-- id="content" -->
- </div> <!-- id="main" -->
- <div id="about">
- <i>generated by <a href="http://github.com/lunarmodules/LDoc">LDoc 1.5.0</a></i>
- <i style="float:right;">Last updated 2024-01-29 22:34:40 </i>
- </div> <!-- id="about" -->
- </div> <!-- id="container" -->
- </body>
- </html>
|