Function rgsl::blas::level3::cherk

source ·
pub fn cherk(
    uplo: Uplo,
    trans: Transpose,
    alpha: f32,
    A: &MatrixComplexF32,
    beta: f32,
    C: &mut MatrixComplexF32
) -> Value
Expand description

These functions compute a rank-k update of the hermitian matrix C, C = \alpha A A^H + \beta C when Trans is NoTrans and C = \alpha A^H 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.