We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1d526b commit 48199cfCopy full SHA for 48199cf
1 file changed
src/array_api_extra/_delegation.py
@@ -647,6 +647,11 @@ def searchsorted(
647
Find the indices into a sorted array ``x1`` such that if the elements in ``x2``
648
were inserted before the indices, the resulting array would remain sorted.
649
650
+ The behavior of this function is similar to that of the homonymous function in the
651
+ array API standard, but it relaxes the requirement that `x1` must be
652
+ one-dimensional. The function is vectorized, treating slices along the last axis
653
+ as elements and preceding axes as batch (or "loop") dimensions.
654
+
655
Parameters
656
----------
657
x1 : Array
0 commit comments