Trait linfa_linalg::eigh::EigSort
source · pub trait EigSort: Sized {
// Required method
fn sort_eig(self, order: Order) -> Self;
// Provided methods
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§
sourcefn sort_eig_asc(self) -> Self
fn sort_eig_asc(self) -> Self
Sort eigendecomposition by the eigenvalues in ascending order
sourcefn sort_eig_desc(self) -> Self
fn sort_eig_desc(self) -> Self
Sort eigendecomposition by the eigenvalues in descending order
Object Safety§
This trait is not object safe.