pub trait MatrixExp<T = Self> {
    // Required method
    fn exp(self) -> T;
}
👎Deprecated since 0.2.0: Please use nalgebra exp instead
Expand description

Exponential of matrices.

Note prefer using su3_exp_r and su3_exp_i when possible.

Required Methods§

source

fn exp(self) -> T

👎Deprecated since 0.2.0: Please use nalgebra exp instead

Return the exponential of the matrix

Implementations on Foreign Types§

source§

impl<T, D> MatrixExp<Matrix<T, D, D, <DefaultAllocator as Allocator<T, D, D>>::Buffer>> for OMatrix<T, D, D>where T: ComplexField + Copy, D: DimName + DimSub<U1>, DefaultAllocator: Allocator<T, D, DimDiff<D, U1>> + Allocator<T, DimDiff<D, U1>> + Allocator<T, D, D> + Allocator<T, D>, OMatrix<T, D, D>: Clone,

Basic implementation of matrix exponential for complex matrices. It does it by first diagonalizing the matrix then exponentiate the diagonal and retransforms it back to the original basis.

source§

fn exp(self) -> OMatrix<T, D, D>

👎Deprecated since 0.2.0: Please use nalgebra exp instead

Implementors§