Skip to content

Commit 11a74df

Browse files
committed
Typos
1 parent fc74b6c commit 11a74df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coloraide/algebra.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4469,7 +4469,7 @@ def svd(
44694469
This differs from Numpy in that it returns `U, S, V` instead of `U, S, V^T`.
44704470
44714471
There are far more efficient and modern algorithms than what we have implemented here.
4472-
This approach is not recommended for very large matrices as it will be too slow, While
4472+
This approach is not recommended for very large matrices as it will be too slow. While
44734473
it is sufficient for computing smaller matrices, it is not practical for very large
44744474
matrices, such as compressing images with thousands of pixels. If you are doing serious
44754475
computations with very large matrices, Numpy or SciPy should be strongly considered.
@@ -4913,7 +4913,7 @@ def pinv(a: TensorLike) -> Tensor:
49134913

49144914
def pinv(a: MatrixLike | TensorLike) -> Matrix | Tensor:
49154915
"""
4916-
Compute the (Moore-Penrose) pseudo-inverse of a matrix use SVD.
4916+
Compute the (Moore-Penrose) pseudo-inverse of a matrix using SVD.
49174917
49184918
Negative results can be returned, use `fnnls` for a non-negative solution (if possible).
49194919
"""

0 commit comments

Comments
 (0)