Trait linxal::eigenvalues::general::Eigen [] [src]

pub trait Eigen: LinxalImplScalar {
    fn compute_into<D>(
        mat: ArrayBase<D, Ix2>,
        compute_left: bool,
        compute_right: bool
    ) -> Result<Solution<Self, Self::Complex>, EigenError>
    where
        D: DataOwned<Elem = Self> + DataMut<Elem = Self>
; fn compute<D>(
        mat: &ArrayBase<D, Ix2>,
        compute_left: bool,
        compute_right: bool
    ) -> Result<Solution<Self, Self::Complex>, EigenError>
    where
        D: Data<Elem = Self>
, { ... } }

Scalar trait for computing eigenvalues.

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

Required Methods

Return the eigenvalues and, optionally, the left and/or right eigenvectors of a general matrix.

The entries in the input matrix mat are modified when calculating the eigenvalues.

Provided Methods

Return the eigenvvalues and, optionally, the eigenvectors of a general matrix.

Implementors