Skip to content

Commit

Permalink
Remove _implements checks
Browse files Browse the repository at this point in the history
  • Loading branch information
asi1024 committed Aug 17, 2024
1 parent a1c4326 commit 1a9341f
Showing 1 changed file with 0 additions and 3 deletions.
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

0 comments on commit 1a9341f

Please sign in to comment.