pub trait EighInplace {
type EigVal;
// Required method
fn eigh_inplace(
&mut self,
uplo: UPLO,
) -> Result<(Self::EigVal, &mut Self), LinalgError>;
}Expand description
Eigenvalue decomposition of mutable reference of Hermite matrix
Required Associated Types§
Required Methods§
fn eigh_inplace( &mut self, uplo: UPLO, ) -> Result<(Self::EigVal, &mut Self), LinalgError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl<A, S, S2> EighInplace for (ArrayBase<S, Dim<[usize; 2]>>, ArrayBase<S2, Dim<[usize; 2]>>)
impl<A, S, S2> EighInplace for (ArrayBase<S, Dim<[usize; 2]>>, ArrayBase<S2, Dim<[usize; 2]>>)
Source§fn eigh_inplace(
&mut self,
uplo: UPLO,
) -> Result<(<(ArrayBase<S, Dim<[usize; 2]>>, ArrayBase<S2, Dim<[usize; 2]>>) as EighInplace>::EigVal, &mut (ArrayBase<S, Dim<[usize; 2]>>, ArrayBase<S2, Dim<[usize; 2]>>)), LinalgError>
fn eigh_inplace( &mut self, uplo: UPLO, ) -> Result<(<(ArrayBase<S, Dim<[usize; 2]>>, ArrayBase<S2, Dim<[usize; 2]>>) as EighInplace>::EigVal, &mut (ArrayBase<S, Dim<[usize; 2]>>, ArrayBase<S2, Dim<[usize; 2]>>)), LinalgError>
Solves the generalized eigenvalue problem.
§Panics
Panics if the shapes of the matrices are different.