Struct extendr_api::prelude::solvers::Eigendecomposition
pub struct Eigendecomposition<E>where
E: Entity,{
s: Col<E>,
u: Mat<E>,
}
Expand description
Complex eigendecomposition.
Fields§
§s: Col<E>
§u: Mat<E>
Implementations§
§impl<E> Eigendecomposition<E>where
E: ComplexField,
impl<E> Eigendecomposition<E>where
E: ComplexField,
pub fn new_from_real(
matrix: MatRef<'_, <E as ComplexField>::Real>,
) -> Eigendecomposition<E>
pub fn new_from_real( matrix: MatRef<'_, <E as ComplexField>::Real>, ) -> Eigendecomposition<E>
Returns the eigendecomposition of the real-valued input matrix.
The factorization is such that $A = U S U^H$, where $S$ is a diagonal matrix, and $U$ is unitary.
pub fn new_from_complex<ViewE>(
matrix: MatRef<'_, ViewE>,
) -> Eigendecomposition<E>where
ViewE: Conjugate<Canonical = E>,
pub fn new_from_complex<ViewE>(
matrix: MatRef<'_, ViewE>,
) -> Eigendecomposition<E>where
ViewE: Conjugate<Canonical = E>,
Returns the eigendecomposition of the complex-valued input matrix.
The factorization is such that $A = U S U^H$, where $S$ is a diagonal matrix, and $U$ is unitary.
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for Eigendecomposition<E>
impl<E> RefUnwindSafe for Eigendecomposition<E>where
<<E as Entity>::Group as ForCopyType>::FaerOfCopy<NonNull<<E as Entity>::Unit>>: RefUnwindSafe,
E: RefUnwindSafe,
impl<E> Send for Eigendecomposition<E>
impl<E> Sync for Eigendecomposition<E>
impl<E> Unpin for Eigendecomposition<E>
impl<E> UnwindSafe for Eigendecomposition<E>where
<<E as Entity>::Group as ForCopyType>::FaerOfCopy<NonNull<<E as Entity>::Unit>>: UnwindSafe,
E: 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> 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