Function rgsl::blas::level2::zher2 [] [src]

pub fn zher2(uplo: Uplo, alpha: &ComplexF64, x: &VectorComplexF64, y: &VectorComplexF64, A: &mut MatrixComplexF64) -> Value

These functions compute the hermitian rank-2 update A = \alpha x yH + \alpha* y xH + A of the hermitian matrix A. Since the matrix A is hermitian only its upper half or lower half need to be stored. When Uplo is CblasUpper then the upper triangle and diagonal of A are used, and when Uplo is CblasLower then the lower triangle and diagonal of A are used. The imaginary elements of the diagonal are automatically set to zero.