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)>