Skip to content

Commit 4eaf451

Browse files
committed
applied suggestions
1 parent fad9dba commit 4eaf451

7 files changed

Lines changed: 79 additions & 5512 deletions

File tree

docs/api-assorted.md

Lines changed: 0 additions & 41 deletions
This file was deleted.

docs/sphinx/api-statistical.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
99
cov
1010
nanmax
11+
nanmean
1112
nanmin
1213
nansum
1314
```

src/array_api_extra/__init__.py

Lines changed: 13 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,19 @@
11
"""Extra array functions built on top of the array API standard."""
22

33
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
4117

4218
__version__ = "0.11.2.dev0"
4319

0 commit comments

Comments
 (0)