Function rgsl::blas::level2::ssyr2
[−]
[src]
pub fn ssyr2(uplo: Uplo, alpha: f32, x: &VectorF32, y: &VectorF32, A: &mut MatrixF32) -> Value
These functions compute the symmetric rank-2 update A = \alpha x yT + \alpha y xT + A of the symmetric matrix A. Since the matrix A is symmetric 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.