Skip to content

Commit 9a2b917

Browse files
authored
implement dpnp.apply_along_axis (#2169)
* implement dpnp.apply_along_axis * add has_support_aspect64 to tests * update doc * address comments
1 parent 078d9a3 commit 9a2b917

16 files changed

+288
-16
lines changed

doc/reference/fft.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
FFT Functions
2-
=============
1+
Discrete Fourier Transform
2+
==========================
33

44
.. https://numpy.org/doc/stable/reference/routines.fft.html
55

doc/reference/functional.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Functional programming
2+
======================
3+
4+
.. https://numpy.org/doc/stable/reference/routines.functional.html
5+
6+
.. autosummary::
7+
:toctree: generated/
8+
:nosignatures:
9+
10+
dpnp.apply_along_axis
11+
dpnp.apply_over_axes
12+
dpnp.vectorize
13+
dpnp.frompyfunc
14+
dpnp.piecewise

doc/reference/linalg.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Linear Algebra
1+
Linear algebra
22
==============
33

44
.. https://numpy.org/doc/stable/reference/routines.linalg.html

doc/reference/logic.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Logic Functions
1+
Logic functions
22
===============
33

44
.. https://numpy.org/doc/stable/reference/routines.logic.html

doc/reference/manipulation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Array Manipulation Routines
1+
Array manipulation routines
22
===========================
33

44
.. https://numpy.org/doc/stable/reference/routines.array-manipulation.html

doc/reference/random.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Random Sampling (``dpnp.random``)
1+
Random sampling (``dpnp.random``)
22
=================================
33

44
.. https://numpy.org/doc/stable/reference/random/legacy.html

doc/reference/routines.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Routines
44

55
The following pages describe NumPy-compatible routines.
66
These functions cover a subset of
7-
`NumPy routines <https://docs.scipy.org/doc/numpy/reference/routines.html>`_.
7+
`NumPy routines <https://numpy.org/doc/stable/reference/routines.html>`_.
88

99
.. currentmodule:: dpnp
1010

@@ -13,10 +13,11 @@ These functions cover a subset of
1313

1414
creation
1515
manipulation
16-
indexing
1716
binary
1817
dtype
1918
fft
19+
functional
20+
indexing
2021
linalg
2122
logic
2223
math

doc/reference/sorting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Sorting, Searching, and Counting
1+
Sorting, searching, and counting
22
================================
33

44
.. https://numpy.org/doc/stable/reference/routines.sort.html

doc/reference/statistics.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Statistical Functions
2-
=====================
1+
Statistics
2+
==========
33

44
.. https://numpy.org/doc/stable/reference/routines.statistics.html
55

dpnp/dpnp_iface.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@
8181
from dpnp.dpnp_iface_bitwise import __all__ as __all__bitwise
8282
from dpnp.dpnp_iface_counting import *
8383
from dpnp.dpnp_iface_counting import __all__ as __all__counting
84+
from dpnp.dpnp_iface_functional import *
85+
from dpnp.dpnp_iface_functional import __all__ as __all__functional
8486
from dpnp.dpnp_iface_histograms import *
8587
from dpnp.dpnp_iface_histograms import __all__ as __all__histograms
8688
from dpnp.dpnp_iface_indexing import *
@@ -116,6 +118,7 @@
116118
__all__ += __all__arraycreation
117119
__all__ += __all__bitwise
118120
__all__ += __all__counting
121+
__all__ += __all__functional
119122
__all__ += __all__histograms
120123
__all__ += __all__indexing
121124
__all__ += __all__libmath

0 commit comments

Comments
 (0)