Skip to content

Commit 85dd465

Browse files
committed
Add basic documentation for eigh
1 parent 726cd2f commit 85dd465

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

ndarray-linalg/src/eigh.rs

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1-
//! Eigenvalue decomposition for Hermite matrices
1+
//! Eigendecomposition for Hermitian matrices.
2+
//!
3+
//! For a Hermitian matrix `A`, this solves the eigenvalue problem `A V = V D`
4+
//! for `D` and `V`, where `D` is the diagonal matrix of eigenvalues in
5+
//! ascending order and `V` is the orthonormal matrix of corresponding
6+
//! eigenvectors.
7+
//!
8+
//! For a pair of Hermitian matrices `A` and `B` where `B` is also positive
9+
//! definite, this solves the generalized eigenvalue problem `A V = B V D`,
10+
//! where `D` is the diagonal matrix of generalized eigenvalues in ascending
11+
//! order and `V` is the matrix of corresponding generalized eigenvectors. The
12+
//! matrix `V` is normalized such that `V^H B V = I`.
213
314
use ndarray::*;
415

0 commit comments

Comments
 (0)