Function rgsl::blas::level2::zher2

source · []
pub fn zher2(
    uplo: CblasUplo,
    alpha: &ComplexF64,
    x: &VectorComplexF64,
    y: &VectorComplexF64,
    A: &mut MatrixComplexF64
) -> Value
Expand description

These functions compute the hermitian rank-2 update A = \alpha x y^H + \alpha^* y x^H + 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.