From dbaefed8d14070b1425e1bd4be56e4f9e6490806 Mon Sep 17 00:00:00 2001 From: metric-space Date: Sun, 26 Dec 2021 21:05:42 -0500 Subject: [PATCH] Fix doc typos --- src/linalg/decomposition.rs | 2 +- src/linalg/svd.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/linalg/decomposition.rs b/src/linalg/decomposition.rs index d75cae9c..e952f18b 100644 --- a/src/linalg/decomposition.rs +++ b/src/linalg/decomposition.rs @@ -188,7 +188,7 @@ impl> Matrix { SVD::try_new_unordered(self.into_owned(), compute_u, compute_v, eps, max_niter) } - /// Attempts to compute the Polar Decomposition of a `matrix + /// Attempts to compute the Polar Decomposition of a `matrix` (indirectly uses SVD) /// /// # Arguments /// diff --git a/src/linalg/svd.rs b/src/linalg/svd.rs index 0e5d7f6c..70ab68a8 100644 --- a/src/linalg/svd.rs +++ b/src/linalg/svd.rs @@ -643,7 +643,7 @@ where } /// converts SVD results to Polar decomposition form of the original Matrix - /// A = P'U + /// A = P' * U /// The polar decomposition used here is Left Polar Decomposition (or Reverse Polar Decomposition) /// Returns None if the SVD hasn't been calculated pub fn to_polar(&self) -> Option<(OMatrix, OMatrix)>