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)>

Object Safety§

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§