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

pub trait Eigen: Sized + Clone {
    type EigenValue;
    type Solution;
    fn compute_into<D>(mat: ArrayBase<D, Ix2>, compute_left: bool, compute_right: bool) -> Result<Self::Solution, EigenError> where D: DataOwned<Elem=Self> + DataMut<Elem=Self>;

    fn compute<D>(mat: &ArrayBase<D, Ix2>, compute_left: bool, compute_right: bool) -> Result<Self::Solution, 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.

Associated Types

The type of the eigenvalues.

The solution structure of the eigenvalue computation.

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