BLAS/SRC/ssymv.f(3)
πΈ BLAS/SRC/ssymv.f πΈ
okay so bestie, we're looking at BLAS/SRC/ssymv.f β yes, the file itself, and honestly? she's iconic. this is the LAPACK manual page for her. pull up a chair, grab a strawberry, we're doing linear algebra and it's gonna be adorable. π
β¨ SYNOPSIS β¨
π Functions/Subroutines
subroutine ssymv (uplo, n, alpha, a, lda, x, incx, beta, y, incy)β this is SSYMV, the main character, no cap
subroutine ssymv (uplo, n, alpha, a, lda, x, incx, beta, y, incy)
π¦ Function/Subroutine Documentation π¦
subroutine ssymv
here's the whole signature in all its glory, literally every type annotation, we do not skip:
subroutine ssymv (character uplo, integer n, real alpha, real,
dimension(lda,*) a, integer lda, real, dimension(*) x, integer incx,
real beta, real, dimension(*) y, integer incy)
SSYMV π
π Purpose:
bestie. SSYMV performs the matrix-vector operation
y := alpha*A*x + beta*y,
where alpha and beta are scalars, x and y are n element vectors, and A is an n by n symmetric matrix. that's the whole vibe. symmetric matrix said "i contain multitudes but only one triangle's worth of them." π
β Parameters
UPLOβUPLOisCHARACTER*1. on entry,UPLOspecifies whether the upper or lower triangular part of the arrayAis to be referenced, as follows:UPLO = 'U' or 'u'β only the upper triangular part ofAis to be referenced.UPLO = 'L' or 'l'β only the lower triangular part ofAis to be referenced.
NβNisINTEGER. on entry,Nspecifies the order of the matrixA.Nmust be at least zero. (zero is allowed, we love a low-stakes queen π«Ά)ALPHAβALPHAisREAL. on entry,ALPHAspecifies the scalar alpha.AβAisREAL array, dimension ( LDA, N ). before entry withUPLO = 'U' or 'u', the leadingnbynupper triangular part of the arrayAmust contain the upper triangular part of the symmetric matrix and the strictly lower triangular part ofAis not referenced. before entry withUPLO = 'L' or 'l', the leadingnbynlower triangular part of the arrayAmust contain the lower triangular part of the symmetric matrix and the strictly upper triangular part ofAis not referenced. (so like, don't bother filling in the other half, she will NOT be looking at it π )LDAβLDAisINTEGER. on entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, n ).XβXisREAL array, dimension at least ( 1 + ( n - 1 )*abs( INCX ) ). before entry, the incremented arrayXmust contain thenelement vectorx.INCXβINCXisINTEGER. on entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. π«BETAβBETAisREAL. on entry,BETAspecifies the scalar beta. whenBETAis supplied as zero thenYneed not be set on input. (free pass, iconic)YβYisREAL array, dimension at least ( 1 + ( n - 1 )*abs( INCY ) ). before entry, the incremented arrayYmust contain thenelement vectory. on exit,Yis overwritten by the updated vectory. (she gets a glow-up, on the way out β¨)INCYβINCYisINTEGER. on entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero. π«
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Further Details:
Level 2 Blas routine.
The vector and matrix arguments are not referenced when N = 0, or M = 0
-- 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.
lowkey a level 2 BLAS routine, highkey a legend. also, the vector and matrix arguments are not referenced whenN = 0, orM = 0β that's the rule, fr fr.
Definition at line 151 of file ssymv.f.
πΈ Author
Generated automatically by Doxygen for LAPACK from the source code. (yes, a robot wrote this part, and honestly? it ate. π)
Version 3.12.0 β Tue Nov 28 2023 12:08:41 β BLAS/SRC/ssymv.f(3)
okay that's the whole page bestie, you're so welcome, go forth and multiply your matrices, y := alpha*A*x + beta*y and slay π
ππ
π¦ where this page comes from
- centos-stream 10: blas 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms