Skip to content

Commit 32d7ba2

Browse files
committed
Reformatting the math formula
1 parent 51b3559 commit 32d7ba2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpnp/dpnp_iface_mathematical.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2784,7 +2784,7 @@ def gradient(f, *varargs, axis=None, edge_order=1):
27842784

27852785

27862786
def interp(x, xp, fp, left=None, right=None, period=None):
2787-
"""
2787+
r"""
27882788
One-dimensional linear interpolation.
27892789
27902790
Returns the one-dimensional piecewise linear interpolant to a function
@@ -2804,7 +2804,7 @@ def interp(x, xp, fp, left=None, right=None, period=None):
28042804
type. The x-coordinates of the data points, must be strictly increasing
28052805
if argument `period` is not specified. Otherwise, `xp` is internally
28062806
sorted after normalizing the periodic boundaries with
2807-
:math:`xp = xp % period`.
2807+
:math:`xp = xp \% period`.
28082808
28092809
fp : {dpnp.ndarray, usm_ndarray}
28102810
Input 1-D array. The y-coordinates of the data points,

0 commit comments

Comments
 (0)