Skip to content

Commit 616d85d

Browse files
committed
Fix decomposition in docs for FactorizedH
For complex matrices, the decomposition is actually `A = P * U * D * U^H * P^T`, not `A = P * U * D * U^T * P^T`. (For real matrices, the Hermitian and transpose are equivalent.)
1 parent 4d9d6cf commit 616d85d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solveh.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ pub trait SolveH<A: Scalar> {
8888
}
8989

9090
/// Represents the Bunch–Kaufman factorization of a Hermitian (or real
91-
/// symmetric) matrix as `A = P * U * D * U^T * P^T`.
91+
/// symmetric) matrix as `A = P * U * D * U^H * P^T`.
9292
pub struct FactorizedH<S: Data> {
9393
pub a: ArrayBase<S, Ix2>,
9494
pub ipiv: Pivot,

0 commit comments

Comments
 (0)