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

pub fn cher(uplo: Uplo, alpha: f32, x: &VectorComplexF32, A: &mut MatrixComplexF32) -> Value

These functions compute the hermitian rank-1 update A = \alpha x 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.