Trait linfa_linalg::eigh::EigSort
source · [−]pub trait EigSort: Sized {
fn sort_eig(self, order: Order) -> Self;
fn sort_eig_asc(self) -> Self { ... }
fn sort_eig_desc(self) -> Self { ... }
}
Expand description
Sorting of eigendecomposition by the eigenvalues.
Panic
Will panic if shape or layout of inputs differ from eigen output, or if input contains NaN.
Required Methods
Provided Methods
fn sort_eig_asc(self) -> Self
fn sort_eig_asc(self) -> Self
Sort eigendecomposition by the eigenvalues in ascending order
fn sort_eig_desc(self) -> Self
fn sort_eig_desc(self) -> Self
Sort eigendecomposition by the eigenvalues in descending order