Skip to content

Commit 5e97b0c

Browse files
committed
ENH: New function lazy_apply
1 parent 8fa3fd2 commit 5e97b0c

File tree

7 files changed

+359
-2
lines changed

7 files changed

+359
-2
lines changed

docs/api-reference.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
expand_dims
1414
isclose
1515
kron
16+
lazy_apply
1617
nunique
1718
pad
1819
setdiff1d

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@
5353

5454
intersphinx_mapping = {
5555
"python": ("https://docs.python.org/3", None),
56+
"numpy": ("https://numpy.org/doc/stable", None),
57+
"dask": ("https://docs.dask.org/en/stable", None),
5658
"jax": ("https://jax.readthedocs.io/en/latest", None),
5759
}
5860

pixi.lock

Lines changed: 30 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ sphinx-autodoc-typehints = "*"
106106
dask-core = "*"
107107
pytest = "*"
108108
typing-extensions = "*"
109+
numpy = "*"
109110

110111
[tool.pixi.feature.docs.tasks]
111112
docs = { cmd = "sphinx-build . build/", cwd = "docs" }

src/array_api_extra/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
setdiff1d,
1313
sinc,
1414
)
15+
from ._lib._lazy import lazy_apply
1516

1617
__version__ = "0.6.1.dev0"
1718

@@ -25,6 +26,7 @@
2526
"expand_dims",
2627
"isclose",
2728
"kron",
29+
"lazy_apply",
2830
"nunique",
2931
"pad",
3032
"setdiff1d",

0 commit comments

Comments
 (0)