Trait linxal::eigenvalues::symmetric::SymEigen [] [src]

pub trait SymEigen: LinxalImplScalar {
    fn compute_mut<D>(
        mat: &mut ArrayBase<D, Ix2>,
        uplo: Symmetric,
        with_vectors: bool
    ) -> Result<Array<Self::RealPart, Ix1>, EigenError>
    where
        D: DataMut<Elem = Self>
; fn compute<D>(
        mat: &ArrayBase<D, Ix2>,
        uplo: Symmetric,
        with_vectors: bool
    ) -> Result<Solution<Self, Self::RealPart>, EigenError>
    where
        D: Data<Elem = Self>
; fn compute_into<D>(
        mat: ArrayBase<D, Ix2>,
        uplo: Symmetric
    ) -> Result<Array<Self::RealPart, Ix1>, EigenError>
    where
        D: DataMut<Elem = Self> + DataOwned<Elem = Self>
, { ... } }

Scalar trait for computing eigenvalues of a symmetric matrix.

In order to extract eigenvalues or eigenvectors from a matrix, that matrix with must have entries implementing the Eigen trait.

Required Methods

Return the real eigenvalues of a symmetric matrix.

If with_vectors is true, the right eigenvectors of 'V' are stored in the input matrix.

Return the eigenvalues and, optionally, the eigenvectors of a symmetric matrix.

Remarks

The input matrix is copied before the calculation takes place.

Provided Methods

Return the real eigenvalues of a symmetric matrix.

Implementors