|
1 | 1 | """Extra array functions built on top of the array API standard.""" |
2 | 2 |
|
3 | 3 | from . import testing |
4 | | -from ._delegation import ( |
5 | | - argpartition, |
6 | | - atleast_nd, |
7 | | - broadcast_shapes, |
8 | | - cov, |
9 | | - create_diagonal, |
10 | | - deg2rad, |
11 | | - diag_indices, |
12 | | - expand_dims, |
13 | | - isclose, |
14 | | - isin, |
15 | | - kron, |
16 | | - nan_to_num, |
17 | | - nanmax, |
18 | | - nanmean, |
19 | | - nanmin, |
20 | | - nansum, |
21 | | - nunique, |
22 | | - one_hot, |
23 | | - pad, |
24 | | - partition, |
25 | | - rad2deg, |
26 | | - searchsorted, |
27 | | - setdiff1d, |
28 | | - sinc, |
29 | | - tril_indices, |
30 | | - triu_indices, |
31 | | - union1d, |
32 | | - unravel_index, |
33 | | -) |
34 | | -from ._lib._at import at |
35 | | -from ._lib._funcs import ( |
36 | | - angle, |
37 | | - apply_where, |
38 | | - default_dtype, |
39 | | -) |
40 | | -from ._lib._lazy import lazy_apply |
| 4 | +from ._agnostic._elementwise import angle, apply_where |
| 5 | +from ._agnostic._inspection import default_dtype |
| 6 | +from ._at import at |
| 7 | +from ._creation import create_diagonal, one_hot |
| 8 | +from ._elementwise import deg2rad, isclose, nan_to_num, rad2deg, sinc |
| 9 | +from ._indexing import diag_indices, tril_indices, triu_indices, unravel_index |
| 10 | +from ._lazy import lazy_apply |
| 11 | +from ._linalg import kron |
| 12 | +from ._manipulation import atleast_nd, broadcast_shapes, expand_dims, pad |
| 13 | +from ._searching import searchsorted |
| 14 | +from ._set import isin, nunique, setdiff1d, union1d |
| 15 | +from ._sorting import argpartition, partition |
| 16 | +from ._statistical import cov, nanmax, nanmean, nanmin, nansum |
41 | 17 |
|
42 | 18 | __version__ = "0.11.2.dev0" |
43 | 19 |
|
|
0 commit comments