We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d5af47 commit b2a567eCopy full SHA for b2a567e
src/array_api_extra/_delegation.py
@@ -529,9 +529,9 @@ def partition(
529
the k-th element in the output array is undefined.
530
531
Notes:
532
- If `xp` implements `partition` or an equivalent method (e.g. topk for torch),
+ If `xp` implements ``partition`` or an equivalent function (e.g. ``topk`` for torch),
533
complexity will likely be O(n).
534
- If not, this function simply calls `xp.sort` and complexity is O(n log n).
+ If not, this function simply calls ``xp.sort`` and complexity is O(n log n).
535
536
Parameters
537
----------
0 commit comments