SSPR2(3)
Hey bestie! π
Welcome to the sspr2.f(3) page from the Library Functions Manual. This is the <pink>SSPR2</pink> BLAS routine, and itβs lowkey iconic. Letβs get into it. π
πΈ NAME πΈ
The file this page is named after is exactly:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/sspr2.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine SSPR2 (uplo, n, alpha, x, incx, y, incy, ap)βSSPR2(yes, thatβs the whole vibe)
π Function/Subroutine Documentation π
subroutine SSPR2 (character uplo, integer n, real alpha, real, dimension(*)
x, integer incx, real, dimension(*) y, integer incy, real, dimension(*)
ap)
Subroutine name: SSPR2. This is your main character subroutine, bestie. π«
π― Purpose π―
Okay so SSPR2 performs the symmetric rank 2 operation:
A := alpha*x*y**T + alpha*y*x**T + A,
where alpha is a scalar, x and y are n element vectors, and A is an n by n symmetric matrix supplied in packed form. Thatβs the whole bit, no cap. π¦
π Parameters π
UPLOβUPLO is CHARACTER*1. On entry,UPLOtells you whether the upper or lower triangular part of matrixAis supplied in packed arrayAP, like this:UPLO = 'U' or 'u'β the upper triangular part ofAis supplied inAP.UPLO = 'L' or 'l'β the lower triangular part ofAis supplied inAP.
NβN is INTEGER. On entry,Nspecifies the order of matrixA.Nmust be at least zero. π«ΆALPHAβALPHA is REAL. On entry,ALPHAspecifies the scalaralpha. πXβX is REAL array, dimension at least ( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented arrayXmust contain thenelement vectorx. πΈINCXβINCX is INTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. β οΈYβY is REAL array, dimension at least ( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented arrayYmust contain thenelement vectory. πINCYβINCY is INTEGER. On entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero. β οΈAPβAP is REAL array, dimension at least ( ( n*( n + 1 ) )/2 ).- Before entry with
UPLO = 'U' or 'u', the arrayAPmust contain the upper triangular part of the symmetric matrix packed sequentially, column by column, so thatAP( 1 )containsa( 1, 1 ),AP( 2 )andAP( 3 )containa( 1, 2 )anda( 2, 2 )respectively, and so on. On exit, the arrayAPis overwritten by the upper triangular part of the updated matrix. π - Before entry with
UPLO = 'L' or 'l', the arrayAPmust contain the lower triangular part of the symmetric matrix packed sequentially, column by column, so thatAP( 1 )containsa( 1, 1 ),AP( 2 )andAP( 3 )containa( 2, 1 )anda( 3, 1 )respectively, and so on. On exit, the arrayAPis overwritten by the lower triangular part of the updated matrix. π
- Before entry with
π Author π
These brilliant folks are credited:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ Further Details π₯
- Level 2 Blas routine.
- Written on
22-October-1986. Jack Dongarra, Argonne National Lab.Jeremy Du Croz, Nag Central Office.Sven Hammarling, Nag Central Office.Richard Hanson, Sandia National Labs.
Definition at line 141 of file sspr2.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π€β¨
π Thatβs a wrap, bestie! Sign-off: LAPACK Version 3.12.0, source /home/abui...SRC/sspr2.f(3). Go slay those packed symmetric rank 2 updates! π
π₯
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms