Trait lattice_qcd_rs::su3::MatrixExp
source · pub trait MatrixExp<T = Self> {
// Required method
fn exp(self) -> T;
}
👎Deprecated since 0.2.0: Please use nalgebra exp instead
Required Methods§
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,
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.