Skip to content

Commit

Permalink
Merge pull request cupy#8365 from YanivDorGalron/patch-1
Browse files Browse the repository at this point in the history
eigsh doc correction _eigen.py
  • Loading branch information
kmaehashi authored and chainer-ci committed Jun 19, 2024
1 parent b127fb1 commit 79da9df
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cupyx/scipy/sparse/linalg/_eigen.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ def eigsh(a, k=6, *, which='LM', v0=None, ncv=None, maxiter=None,
:class:`cupyx.scipy.sparse.linalg.LinearOperator`.
k (int): The number of eigenvalues and eigenvectors to compute. Must be
``1 <= k < n``.
which (str): 'LM' or 'LA'. 'LM': finds ``k`` largest (in magnitude)
eigenvalues. 'LA': finds ``k`` largest (algebraic) eigenvalues.
which (str): 'LM' or 'LA' or 'SA'.
'LM': finds ``k`` largest (in magnitude) eigenvalues.
'LA': finds ``k`` largest (algebraic) eigenvalues.
'SA': finds ``k`` smallest (algebraic) eigenvalues.
v0 (ndarray): Starting vector for iteration. If ``None``, a random
Expand Down

0 comments on commit 79da9df

Please sign in to comment.