ndarray_linalg::eigh

Trait EighInplace

Source
pub trait EighInplace {
    type EigVal;

    // Required method
    fn eigh_inplace(&mut self, uplo: UPLO) -> Result<(Self::EigVal, &mut Self)>;
}
Expand description

Eigenvalue decomposition of mutable reference of Hermite matrix

Required Associated Types§

Required Methods§

Source

fn eigh_inplace(&mut self, uplo: UPLO) -> Result<(Self::EigVal, &mut Self)>

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> EighInplace for ArrayBase<S, Ix2>
where A: Scalar + Lapack, S: DataMut<Elem = A>,

Source§

type EigVal = ArrayBase<OwnedRepr<<A as Scalar>::Real>, Dim<[usize; 1]>>

Source§

fn eigh_inplace(&mut self, uplo: UPLO) -> Result<(Self::EigVal, &mut Self)>

Source§

impl<A, S, S2> EighInplace for (ArrayBase<S, Ix2>, ArrayBase<S2, Ix2>)
where A: Scalar + Lapack, S: DataMut<Elem = A>, S2: DataMut<Elem = A>,

Source§

fn eigh_inplace(&mut self, uplo: UPLO) -> Result<(Self::EigVal, &mut Self)>

Solves the generalized eigenvalue problem.

§Panics

Panics if the shapes of the matrices are different.

Source§

type EigVal = ArrayBase<OwnedRepr<<A as Scalar>::Real>, Dim<[usize; 1]>>

Implementors§