sspr - perform the symmetric rank 1 operation A := alpha*x*x' + A
SUBROUTINE SSPR( UPLO, N, ALPHA, X, INCX, A) CHARACTER * 1 UPLO INTEGER N, INCX REAL ALPHA REAL X(*), A(*)
SUBROUTINE SSPR_64( UPLO, N, ALPHA, X, INCX, A) CHARACTER * 1 UPLO INTEGER*8 N, INCX REAL ALPHA REAL X(*), A(*)
SUBROUTINE SPR( UPLO, N, ALPHA, X, [INCX], A) CHARACTER(LEN=1) :: UPLO INTEGER :: N, INCX REAL :: ALPHA REAL, DIMENSION(:) :: X, A
SUBROUTINE SPR_64( UPLO, N, ALPHA, X, [INCX], A) CHARACTER(LEN=1) :: UPLO INTEGER(8) :: N, INCX REAL :: ALPHA REAL, DIMENSION(:) :: X, A
#include <sunperf.h>
void sspr(char uplo, int n, float alpha, float *x, int incx, float *a);
void sspr_64(char uplo, long n, float alpha, float *x, long incx, float *a);
sspr performs the symmetric rank 1 operation A := alpha*x*x' + A, where alpha is a real scalar, x is an n element vector and A is an n by n symmetric matrix, supplied in packed form.
UPLO = 'U' or 'u' The upper triangular part of A is supplied in A.
UPLO = 'L' or 'l' The lower triangular part of A is supplied in A.
Unchanged on exit.