Function rgsl::blas::level3::zher2k[][src]

pub fn zher2k(
    uplo: CblasUplo,
    trans: CblasTranspose,
    alpha: &ComplexF64,
    A: &MatrixComplexF64,
    B: &MatrixComplexF64,
    beta: f64,
    C: &mut MatrixComplexF64
) -> Value
Expand description

This function computes a rank-2k update of the hermitian matrix C, C = \alpha A B^H + \alpha^* B A^H + \beta C when Trans is NoTrans and C = \alpha A^H B + \alpha^* B^H A + \beta C when Trans is ConjTrans. Since the matrix C is hermitian only its upper half or lower half need to be stored. When Uplo is Upper then the upper triangle and diagonal of C are used, and when Uplo is Lower then the lower triangle and diagonal of C are used. The imaginary elements of the diagonal are automatically set to zero.