From ed09700280b2d17bf90264c5082ab310012f6b09 Mon Sep 17 00:00:00 2001 From: metric-space Date: Fri, 4 Feb 2022 00:13:01 -0500 Subject: [PATCH] Correction to keep naming of left and right eigenvector matrices consistent --- nalgebra-lapack/src/generalized_eigenvalues.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nalgebra-lapack/src/generalized_eigenvalues.rs b/nalgebra-lapack/src/generalized_eigenvalues.rs index 4a2a293f..c9fb0e57 100644 --- a/nalgebra-lapack/src/generalized_eigenvalues.rs +++ b/nalgebra-lapack/src/generalized_eigenvalues.rs @@ -197,8 +197,8 @@ where /// /// What is going on below? /// If the j-th and (j+1)-th eigenvalues form a complex conjugate pair, - /// then v_l(j) = VSL(:,j)+i*VSL(:,j+1) and v_l(j+1) = VSL(:,j)-i*VSL(:,j+1). - /// and then v_r(j) = VSR(:,j)+i*VSR(:,j+1) and v_r(j+1) = VSR(:,j)-i*VSR(:,j+1). + /// then u(j) = VSL(:,j)+i*VSL(:,j+1) and u(j+1) = VSL(:,j)-i*VSL(:,j+1). + /// and then v(j) = VSR(:,j)+i*VSR(:,j+1) and v(j+1) = VSR(:,j)-i*VSR(:,j+1). pub fn eigenvectors(self) -> (OMatrix, D, D>, OMatrix, D, D>) where DefaultAllocator: