Function rgsl::blas::level2::cher2

source ·
pub fn cher2(
    uplo: Uplo,
    alpha: &ComplexF32,
    x: &VectorComplexF32,
    y: &VectorComplexF32,
    A: &mut MatrixComplexF32
) -> 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.