From 818448b05dd51f36c07eba15f87cc77ed55f375c Mon Sep 17 00:00:00 2001 From: 99991 <99991@users.noreply.github.com> Date: Wed, 9 Oct 2024 09:09:27 +0200 Subject: [PATCH] Fix typo --- maths/cholesky_decomposition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maths/cholesky_decomposition.py b/maths/cholesky_decomposition.py index a17a5c2a7..d7fa5b45c 100644 --- a/maths/cholesky_decomposition.py +++ b/maths/cholesky_decomposition.py @@ -66,7 +66,7 @@ def cholesky_decomposition(A: np.ndarray) -> np.ndarray: def solve_cholesky(L: np.ndarray, Y: np.ndarray) -> np.ndarray: """Given a Cholesky decomposition L L^T = A of a matrix A, solve the - system of equations A X = Y where B is either a matrix or a vector. + system of equations A X = Y where Y is either a matrix or a vector. >>> L = np.array([[2, 0], [3, 4]], dtype=float) >>> Y = np.array([[22, 54], [81, 193]], dtype=float)