Skip to content

Commit 1de7c73

Browse files
author
array-api-bot
committedJul 25, 2024
Deploy: b569b03
1 parent 685d5af commit 1de7c73

10 files changed

+575
-21
lines changed
 

‎draft/API_specification/elementwise_functions.html

+15-12
Original file line numberDiff line numberDiff line change
@@ -646,40 +646,43 @@ <h2 id="objects-in-api">Objects in API<a class="headerlink" href="#objects-in-ap
646646
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.real.html#array_api.real" title="array_api.real"><code class="xref py py-obj docutils literal notranslate"><span class="pre">real</span></code></a>(x, /)</p></td>
647647
<td><p>Returns the real component of a complex number for each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p></td>
648648
</tr>
649-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.remainder.html#array_api.remainder" title="array_api.remainder"><code class="xref py py-obj docutils literal notranslate"><span class="pre">remainder</span></code></a>(x1, x2, /)</p></td>
649+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.reciprocal.html#array_api.reciprocal" title="array_api.reciprocal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">reciprocal</span></code></a>(x, /)</p></td>
650+
<td><p>Returns the reciprocal for each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p></td>
651+
</tr>
652+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.remainder.html#array_api.remainder" title="array_api.remainder"><code class="xref py py-obj docutils literal notranslate"><span class="pre">remainder</span></code></a>(x1, x2, /)</p></td>
650653
<td><p>Returns the remainder of division for each element <code class="docutils literal notranslate"><span class="pre">x1_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x1</span></code> and the respective element <code class="docutils literal notranslate"><span class="pre">x2_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x2</span></code>.</p></td>
651654
</tr>
652-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.round.html#array_api.round" title="array_api.round"><code class="xref py py-obj docutils literal notranslate"><span class="pre">round</span></code></a>(x, /)</p></td>
655+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.round.html#array_api.round" title="array_api.round"><code class="xref py py-obj docutils literal notranslate"><span class="pre">round</span></code></a>(x, /)</p></td>
653656
<td><p>Rounds each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code> to the nearest integer-valued number.</p></td>
654657
</tr>
655-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.sign.html#array_api.sign" title="array_api.sign"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sign</span></code></a>(x, /)</p></td>
658+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.sign.html#array_api.sign" title="array_api.sign"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sign</span></code></a>(x, /)</p></td>
656659
<td><p>Returns an indication of the sign of a number for each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p></td>
657660
</tr>
658-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.signbit.html#array_api.signbit" title="array_api.signbit"><code class="xref py py-obj docutils literal notranslate"><span class="pre">signbit</span></code></a>(x, /)</p></td>
661+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.signbit.html#array_api.signbit" title="array_api.signbit"><code class="xref py py-obj docutils literal notranslate"><span class="pre">signbit</span></code></a>(x, /)</p></td>
659662
<td><p>Determines whether the sign bit is set for each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p></td>
660663
</tr>
661-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.sin.html#array_api.sin" title="array_api.sin"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sin</span></code></a>(x, /)</p></td>
664+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.sin.html#array_api.sin" title="array_api.sin"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sin</span></code></a>(x, /)</p></td>
662665
<td><p>Calculates an implementation-dependent approximation to the sine for each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p></td>
663666
</tr>
664-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.sinh.html#array_api.sinh" title="array_api.sinh"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sinh</span></code></a>(x, /)</p></td>
667+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.sinh.html#array_api.sinh" title="array_api.sinh"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sinh</span></code></a>(x, /)</p></td>
665668
<td><p>Calculates an implementation-dependent approximation to the hyperbolic sine for each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p></td>
666669
</tr>
667-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.square.html#array_api.square" title="array_api.square"><code class="xref py py-obj docutils literal notranslate"><span class="pre">square</span></code></a>(x, /)</p></td>
670+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.square.html#array_api.square" title="array_api.square"><code class="xref py py-obj docutils literal notranslate"><span class="pre">square</span></code></a>(x, /)</p></td>
668671
<td><p>Squares each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p></td>
669672
</tr>
670-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.sqrt.html#array_api.sqrt" title="array_api.sqrt"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sqrt</span></code></a>(x, /)</p></td>
673+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.sqrt.html#array_api.sqrt" title="array_api.sqrt"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sqrt</span></code></a>(x, /)</p></td>
671674
<td><p>Calculates the principal square root for each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p></td>
672675
</tr>
673-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.subtract.html#array_api.subtract" title="array_api.subtract"><code class="xref py py-obj docutils literal notranslate"><span class="pre">subtract</span></code></a>(x1, x2, /)</p></td>
676+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.subtract.html#array_api.subtract" title="array_api.subtract"><code class="xref py py-obj docutils literal notranslate"><span class="pre">subtract</span></code></a>(x1, x2, /)</p></td>
674677
<td><p>Calculates the difference for each element <code class="docutils literal notranslate"><span class="pre">x1_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x1</span></code> with the respective element <code class="docutils literal notranslate"><span class="pre">x2_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x2</span></code>.</p></td>
675678
</tr>
676-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.tan.html#array_api.tan" title="array_api.tan"><code class="xref py py-obj docutils literal notranslate"><span class="pre">tan</span></code></a>(x, /)</p></td>
679+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.tan.html#array_api.tan" title="array_api.tan"><code class="xref py py-obj docutils literal notranslate"><span class="pre">tan</span></code></a>(x, /)</p></td>
677680
<td><p>Calculates an implementation-dependent approximation to the tangent for each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p></td>
678681
</tr>
679-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.tanh.html#array_api.tanh" title="array_api.tanh"><code class="xref py py-obj docutils literal notranslate"><span class="pre">tanh</span></code></a>(x, /)</p></td>
682+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.tanh.html#array_api.tanh" title="array_api.tanh"><code class="xref py py-obj docutils literal notranslate"><span class="pre">tanh</span></code></a>(x, /)</p></td>
680683
<td><p>Calculates an implementation-dependent approximation to the hyperbolic tangent for each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code>.</p></td>
681684
</tr>
682-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api.trunc.html#array_api.trunc" title="array_api.trunc"><code class="xref py py-obj docutils literal notranslate"><span class="pre">trunc</span></code></a>(x, /)</p></td>
685+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api.trunc.html#array_api.trunc" title="array_api.trunc"><code class="xref py py-obj docutils literal notranslate"><span class="pre">trunc</span></code></a>(x, /)</p></td>
683686
<td><p>Rounds each element <code class="docutils literal notranslate"><span class="pre">x_i</span></code> of the input array <code class="docutils literal notranslate"><span class="pre">x</span></code> to the nearest integer-valued number that is closer to zero than <code class="docutils literal notranslate"><span class="pre">x_i</span></code>.</p></td>
684687
</tr>
685688
</tbody>

‎draft/API_specification/generated/array_api.real.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<script src="../../_static/copybutton.js?v=f281be69"></script>
6363
<link rel="index" title="Index" href="../../genindex.html" />
6464
<link rel="search" title="Search" href="../../search.html" />
65-
<link rel="next" title="remainder" href="array_api.remainder.html" />
65+
<link rel="next" title="reciprocal" href="array_api.reciprocal.html" />
6666
<link rel="prev" title="pow" href="array_api.pow.html" />
6767

6868
<link rel="apple-touch-icon" href="../../_static/images/apple-icon-152x152.png"/>
@@ -505,12 +505,12 @@ <h1 id="api-specification-generated-array-api-real--page-root">real<a class="hea
505505
</a>
506506

507507

508-
<a href="array_api.remainder.html" title="remainder"
508+
<a href="array_api.reciprocal.html" title="reciprocal"
509509
class="md-flex md-footer-nav__link md-footer-nav__link--next"
510510
rel="next">
511511
<div class="md-flex__cell md-flex__cell--stretch md-footer-nav__title"><span
512512
class="md-flex__ellipsis"> <span
513-
class="md-footer-nav__direction"> "Next" </span> remainder </span>
513+
class="md-footer-nav__direction"> "Next" </span> reciprocal </span>
514514
</div>
515515
<div class="md-flex__cell md-flex__cell--shrink"><i
516516
class="md-icon md-icon--arrow-forward md-footer-nav__button"></i>

0 commit comments

Comments
 (0)