Skip to content

Commit

Permalink
Update docstring description
Browse files Browse the repository at this point in the history
  • Loading branch information
crstngc committed Dec 5, 2023
1 parent 0a2483c commit a89b6f0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scico/flax/inverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,14 +470,13 @@ def __call__(self, y: Array, train: bool = True) -> Array:
def power_iteration(A: LinearOperator, maxiter: int = 100):
"""Compute largest eigenvalue of a diagonalizable :class:`.LinearOperator`.
Compute largest eigenvalue of a diagonalizable
:class:`LinearOperator` using power iteration.
The function makes use of lax functionality to
Compute largest eigenvalue of a diagonalizable :class:`LinearOperator`
using power iteration. This function has the same functionality as
:class:`.linop.power_iteration` but is implemented using lax operations to
allow jitting and general jax function composition.
Args:
A: :class:`LinearOperator` used for computation. Must be
diagonalizable.
A: :class:`LinearOperator` used for computation. Must be diagonalizable.
maxiter: Maximum number of power iterations to use.
Returns:
Expand Down

0 comments on commit a89b6f0

Please sign in to comment.