NAME

sspr - perform the symmetric rank 1 operation A := alpha*x*x' + A


SYNOPSIS

  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(*)

F95 INTERFACE

  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

C INTERFACE

#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);


PURPOSE

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.


ARGUMENTS