Function rgsl::blas::level3::cher2k [] [src]

pub fn cher2k(uplo: Uplo, trans: Transpose, alpha: &ComplexF32, A: &MatrixComplexF32, B: &MatrixComplexF32, beta: f32, C: &mut MatrixComplexF32) -> Value

This function computes a rank-2k update of the hermitian matrix C, C = \alpha A BH + \alpha* B AH + \beta C when Trans is NoTrans and C = \alpha AH B + \alpha* BH 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.