Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v13] Unregister cupyx.scipy.linalg.{tri,tril,triu} from uarray (reverted in #8516) #8506

Merged
merged 1 commit into from
Aug 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions cupyx/scipy/linalg/_special_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 6,6 @@
from cupyx.scipy.linalg import _uarray


@_uarray.implements('tri')
def tri(N, M=None, k=0, dtype=None):
""" Construct (``N``, ``M``) matrix filled with ones at and below the
``k``-th diagonal. The matrix has ``A[i,j] == 1`` for ``i <= j k``.
Expand Down Expand Up @@ -38,7 37,6 @@ def tri(N, M=None, k=0, dtype=None):
return cupy.tri(N, M, k, bool if dtype is None else dtype)


@_uarray.implements('tril')
def tril(m, k=0):
"""Make a copy of a matrix with elements above the ``k``-th diagonal
zeroed.
Expand All @@ -62,7 60,6 @@ def tril(m, k=0):
return t


@_uarray.implements('triu')
def triu(m, k=0):
"""Make a copy of a matrix with elements below the ``k``-th diagonal
zeroed.
Expand Down
Loading