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

pub fn zher2k(uplo: Uplo, trans: Transpose, alpha: &ComplexF64, A: &MatrixComplexF64, B: &MatrixComplexF64, beta: f64, C: &mut MatrixComplexF64) -> Value

This function computes a rank-2k update of the hermitian matrix C, C = \alpha A BH + \alpha* B AH + \beta C when Trans is NoTrans and C = \alpha AH B + \alpha* BH 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.