Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Oct 20, 2023
1 parent af3eb3a commit c974466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ffsim/linalg/linalg.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def lup(mat: np.ndarray) -> tuple[np.ndarray, np.ndarray, np.ndarray]:
def reduced_matrix(mat: scipy.sparse.linalg.LinearOperator, vecs: Sequence[np.ndarray]):
r"""Compute reduced matrix within a subspace spanned by some vectors.
Given a linear operator :math:`A` and a list of vectors :math:`\{v_i}\}`,
Given a linear operator :math:`A` and a list of vectors :math:`\{v_i\}`,
return the matrix M where :math:`M_{ij} = v_i^\dagger A v_j`.
"""
dim = len(vecs)
Expand Down

0 comments on commit c974466

Please sign in to comment.