pub trait Herm: Matrixwhere
    Self::Output: Matrix,
{ type Output; fn herm(&self) -> Self::Output; }

Required Associated Types§

Required Methods§

Returns the Hermitian complex-conjugate transposed matrix

Aᴴ = (A*)ᵀ

Examples
let a = [
    [Complex::new(1.0, 1.0), Complex::new(2.0, -1.0)],
    [Complex::new(3.0, 1.0), Complex::new(4.0, -1.0)]
];
let ah = [
    [a[0][0].conj(), a[1][0].conj()],
    [a[0][1].conj(), a[1][1].conj()]
];
assert_eq!(a.herm(), ah);

Implementations on Foreign Types§

Implementors§