pub struct Eigh<V, R = V> {
pub values: R,
pub vectors: V,
}Expand description
Hermitian/symmetric eigendecomposition.
Field order equals the former tuple order (values, vectors).
values: real eigenvaluesvectors: eigenvectors
§Examples
use tenferro_linalg::Eigh;
let r = Eigh { values: 1.0, vectors: 2 };
let Eigh { values, vectors } = r;
assert_eq!((values, vectors), (1.0, 2));Fields§
§values: RSee the type-level documentation.
vectors: VSee the type-level documentation.
Trait Implementations§
Auto Trait Implementations§
impl<V, R> Freeze for Eigh<V, R>
impl<V, R> RefUnwindSafe for Eigh<V, R>where
R: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, R> Send for Eigh<V, R>
impl<V, R> Sync for Eigh<V, R>
impl<V, R> Unpin for Eigh<V, R>
impl<V, R> UnsafeUnpin for Eigh<V, R>where
R: UnsafeUnpin,
V: UnsafeUnpin,
impl<V, R> UnwindSafe for Eigh<V, R>where
R: UnwindSafe,
V: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T, U> Imply<T> for U
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more