Skip to content

Commit 9055e7c

Browse files
committed
Deploying to gh-pages from @ 5520c43 🚀
1 parent cb12044 commit 9055e7c

35 files changed

+1333
-29
lines changed

_sources/api-reference.md.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
:toctree: generated
88

99
apply_where
10+
argpartition
1011
at
1112
atleast_nd
1213
broadcast_shapes
@@ -15,11 +16,13 @@
1516
default_dtype
1617
expand_dims
1718
isclose
19+
isin
1820
kron
1921
nan_to_num
2022
nunique
2123
one_hot
2224
pad
25+
partition
2326
setdiff1d
2427
sinc
2528
```
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
array\_api\_extra.argpartition
2+
==============================
3+
4+
.. currentmodule:: array_api_extra
5+
6+
.. autofunction:: argpartition
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
array\_api\_extra.isin
2+
======================
3+
4+
.. currentmodule:: array_api_extra
5+
6+
.. autofunction:: isin
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
array\_api\_extra.partition
2+
===========================
3+
4+
.. currentmodule:: array_api_extra
5+
6+
.. autofunction:: partition

api-lazy.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@
203203
<li class="toctree-l1"><a class="reference internal" href="index.html">array-api-extra</a></li>
204204
<li class="toctree-l1 has-children"><a class="reference internal" href="api-reference.html">API Reference</a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of API Reference</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
205205
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.apply_where.html">array_api_extra.apply_where</a></li>
206+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.argpartition.html">array_api_extra.argpartition</a></li>
206207
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.at.html">array_api_extra.at</a></li>
207208
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.atleast_nd.html">array_api_extra.atleast_nd</a></li>
208209
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.broadcast_shapes.html">array_api_extra.broadcast_shapes</a></li>
@@ -211,11 +212,13 @@
211212
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.default_dtype.html">array_api_extra.default_dtype</a></li>
212213
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.expand_dims.html">array_api_extra.expand_dims</a></li>
213214
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.isclose.html">array_api_extra.isclose</a></li>
215+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.isin.html">array_api_extra.isin</a></li>
214216
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.kron.html">array_api_extra.kron</a></li>
215217
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nan_to_num.html">array_api_extra.nan_to_num</a></li>
216218
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nunique.html">array_api_extra.nunique</a></li>
217219
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.one_hot.html">array_api_extra.one_hot</a></li>
218220
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.pad.html">array_api_extra.pad</a></li>
221+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.partition.html">array_api_extra.partition</a></li>
219222
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.setdiff1d.html">array_api_extra.setdiff1d</a></li>
220223
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.sinc.html">array_api_extra.sinc</a></li>
221224
</ul>

api-reference.html

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@
203203
<li class="toctree-l1"><a class="reference internal" href="index.html">array-api-extra</a></li>
204204
<li class="toctree-l1 current has-children current-page"><a class="current reference internal" href="#">API Reference</a><input checked="" class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of API Reference</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
205205
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.apply_where.html">array_api_extra.apply_where</a></li>
206+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.argpartition.html">array_api_extra.argpartition</a></li>
206207
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.at.html">array_api_extra.at</a></li>
207208
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.atleast_nd.html">array_api_extra.atleast_nd</a></li>
208209
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.broadcast_shapes.html">array_api_extra.broadcast_shapes</a></li>
@@ -211,11 +212,13 @@
211212
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.default_dtype.html">array_api_extra.default_dtype</a></li>
212213
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.expand_dims.html">array_api_extra.expand_dims</a></li>
213214
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.isclose.html">array_api_extra.isclose</a></li>
215+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.isin.html">array_api_extra.isin</a></li>
214216
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.kron.html">array_api_extra.kron</a></li>
215217
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nan_to_num.html">array_api_extra.nan_to_num</a></li>
216218
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nunique.html">array_api_extra.nunique</a></li>
217219
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.one_hot.html">array_api_extra.one_hot</a></li>
218220
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.pad.html">array_api_extra.pad</a></li>
221+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.partition.html">array_api_extra.partition</a></li>
219222
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.setdiff1d.html">array_api_extra.setdiff1d</a></li>
220223
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.sinc.html">array_api_extra.sinc</a></li>
221224
</ul>
@@ -280,30 +283,36 @@ <h1>API Reference<a class="headerlink" href="#api-reference" title="Link to this
280283
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.apply_where.html#array_api_extra.apply_where" title="array_api_extra.apply_where"><code class="xref py py-obj docutils literal notranslate"><span class="pre">apply_where</span></code></a></p></td>
281284
<td><p>Run one of two elementwise functions depending on a condition.</p></td>
282285
</tr>
283-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.at.html#array_api_extra.at" title="array_api_extra.at"><code class="xref py py-obj docutils literal notranslate"><span class="pre">at</span></code></a></p></td>
286+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.argpartition.html#array_api_extra.argpartition" title="array_api_extra.argpartition"><code class="xref py py-obj docutils literal notranslate"><span class="pre">argpartition</span></code></a></p></td>
287+
<td><p>Perform an indirect partition along the given axis.</p></td>
288+
</tr>
289+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.at.html#array_api_extra.at" title="array_api_extra.at"><code class="xref py py-obj docutils literal notranslate"><span class="pre">at</span></code></a></p></td>
284290
<td><p>Update operations for read-only arrays.</p></td>
285291
</tr>
286-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.atleast_nd.html#array_api_extra.atleast_nd" title="array_api_extra.atleast_nd"><code class="xref py py-obj docutils literal notranslate"><span class="pre">atleast_nd</span></code></a></p></td>
292+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.atleast_nd.html#array_api_extra.atleast_nd" title="array_api_extra.atleast_nd"><code class="xref py py-obj docutils literal notranslate"><span class="pre">atleast_nd</span></code></a></p></td>
287293
<td><p>Recursively expand the dimension of an array to at least <cite>ndim</cite>.</p></td>
288294
</tr>
289-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.broadcast_shapes.html#array_api_extra.broadcast_shapes" title="array_api_extra.broadcast_shapes"><code class="xref py py-obj docutils literal notranslate"><span class="pre">broadcast_shapes</span></code></a></p></td>
295+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.broadcast_shapes.html#array_api_extra.broadcast_shapes" title="array_api_extra.broadcast_shapes"><code class="xref py py-obj docutils literal notranslate"><span class="pre">broadcast_shapes</span></code></a></p></td>
290296
<td><p>Compute the shape of the broadcasted arrays.</p></td>
291297
</tr>
292-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.cov.html#array_api_extra.cov" title="array_api_extra.cov"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cov</span></code></a></p></td>
298+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.cov.html#array_api_extra.cov" title="array_api_extra.cov"><code class="xref py py-obj docutils literal notranslate"><span class="pre">cov</span></code></a></p></td>
293299
<td><p>Estimate a covariance matrix (or a stack of covariance matrices).</p></td>
294300
</tr>
295-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.create_diagonal.html#array_api_extra.create_diagonal" title="array_api_extra.create_diagonal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">create_diagonal</span></code></a></p></td>
301+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.create_diagonal.html#array_api_extra.create_diagonal" title="array_api_extra.create_diagonal"><code class="xref py py-obj docutils literal notranslate"><span class="pre">create_diagonal</span></code></a></p></td>
296302
<td><p>Construct a diagonal array.</p></td>
297303
</tr>
298-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.default_dtype.html#array_api_extra.default_dtype" title="array_api_extra.default_dtype"><code class="xref py py-obj docutils literal notranslate"><span class="pre">default_dtype</span></code></a></p></td>
304+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.default_dtype.html#array_api_extra.default_dtype" title="array_api_extra.default_dtype"><code class="xref py py-obj docutils literal notranslate"><span class="pre">default_dtype</span></code></a></p></td>
299305
<td><p>Return the default dtype for the given namespace and device.</p></td>
300306
</tr>
301-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.expand_dims.html#array_api_extra.expand_dims" title="array_api_extra.expand_dims"><code class="xref py py-obj docutils literal notranslate"><span class="pre">expand_dims</span></code></a></p></td>
307+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.expand_dims.html#array_api_extra.expand_dims" title="array_api_extra.expand_dims"><code class="xref py py-obj docutils literal notranslate"><span class="pre">expand_dims</span></code></a></p></td>
302308
<td><p>Expand the shape of an array.</p></td>
303309
</tr>
304-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.isclose.html#array_api_extra.isclose" title="array_api_extra.isclose"><code class="xref py py-obj docutils literal notranslate"><span class="pre">isclose</span></code></a></p></td>
310+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.isclose.html#array_api_extra.isclose" title="array_api_extra.isclose"><code class="xref py py-obj docutils literal notranslate"><span class="pre">isclose</span></code></a></p></td>
305311
<td><p>Return a boolean array where two arrays are element-wise equal within a tolerance.</p></td>
306312
</tr>
313+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.isin.html#array_api_extra.isin" title="array_api_extra.isin"><code class="xref py py-obj docutils literal notranslate"><span class="pre">isin</span></code></a></p></td>
314+
<td><p>Determine whether each element in <cite>a</cite> is present in <cite>b</cite>.</p></td>
315+
</tr>
307316
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.kron.html#array_api_extra.kron" title="array_api_extra.kron"><code class="xref py py-obj docutils literal notranslate"><span class="pre">kron</span></code></a></p></td>
308317
<td><p>Kronecker product of two arrays.</p></td>
309318
</tr>
@@ -319,10 +328,13 @@ <h1>API Reference<a class="headerlink" href="#api-reference" title="Link to this
319328
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.pad.html#array_api_extra.pad" title="array_api_extra.pad"><code class="xref py py-obj docutils literal notranslate"><span class="pre">pad</span></code></a></p></td>
320329
<td><p>Pad the input array.</p></td>
321330
</tr>
322-
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.setdiff1d.html#array_api_extra.setdiff1d" title="array_api_extra.setdiff1d"><code class="xref py py-obj docutils literal notranslate"><span class="pre">setdiff1d</span></code></a></p></td>
331+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.partition.html#array_api_extra.partition" title="array_api_extra.partition"><code class="xref py py-obj docutils literal notranslate"><span class="pre">partition</span></code></a></p></td>
332+
<td><p>Return a partitioned copy of an array.</p></td>
333+
</tr>
334+
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.setdiff1d.html#array_api_extra.setdiff1d" title="array_api_extra.setdiff1d"><code class="xref py py-obj docutils literal notranslate"><span class="pre">setdiff1d</span></code></a></p></td>
323335
<td><p>Find the set difference of two arrays.</p></td>
324336
</tr>
325-
<tr class="row-even"><td><p><a class="reference internal" href="generated/array_api_extra.sinc.html#array_api_extra.sinc" title="array_api_extra.sinc"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sinc</span></code></a></p></td>
337+
<tr class="row-odd"><td><p><a class="reference internal" href="generated/array_api_extra.sinc.html#array_api_extra.sinc" title="array_api_extra.sinc"><code class="xref py py-obj docutils literal notranslate"><span class="pre">sinc</span></code></a></p></td>
326338
<td><p>Return the normalized sinc function.</p></td>
327339
</tr>
328340
</tbody>

contributing.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@
203203
<li class="toctree-l1"><a class="reference internal" href="index.html">array-api-extra</a></li>
204204
<li class="toctree-l1 has-children"><a class="reference internal" href="api-reference.html">API Reference</a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of API Reference</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
205205
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.apply_where.html">array_api_extra.apply_where</a></li>
206+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.argpartition.html">array_api_extra.argpartition</a></li>
206207
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.at.html">array_api_extra.at</a></li>
207208
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.atleast_nd.html">array_api_extra.atleast_nd</a></li>
208209
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.broadcast_shapes.html">array_api_extra.broadcast_shapes</a></li>
@@ -211,11 +212,13 @@
211212
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.default_dtype.html">array_api_extra.default_dtype</a></li>
212213
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.expand_dims.html">array_api_extra.expand_dims</a></li>
213214
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.isclose.html">array_api_extra.isclose</a></li>
215+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.isin.html">array_api_extra.isin</a></li>
214216
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.kron.html">array_api_extra.kron</a></li>
215217
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nan_to_num.html">array_api_extra.nan_to_num</a></li>
216218
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.nunique.html">array_api_extra.nunique</a></li>
217219
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.one_hot.html">array_api_extra.one_hot</a></li>
218220
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.pad.html">array_api_extra.pad</a></li>
221+
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.partition.html">array_api_extra.partition</a></li>
219222
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.setdiff1d.html">array_api_extra.setdiff1d</a></li>
220223
<li class="toctree-l2"><a class="reference internal" href="generated/array_api_extra.sinc.html">array_api_extra.sinc</a></li>
221224
</ul>

0 commit comments

Comments
 (0)