BLAS/SRC/ssymv.f(3)
π
BLAS/SRC/ssymv.f β the ssymv glow-up
okay so bestie, welcome to the manual page for BLAS/SRC/ssymv.f, and honestly? she's a legend. this is the single-precision symmetric matrix-vector girlie, and she absolutely ate. let's get into it β¨
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines
subroutine ssymv (uplo, n, alpha, a, lda, x, incx, beta, y, incy)β the one and onlySSYMV, no cap π«Ά
π Function/Subroutine Documentation π
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 β main character energy, literally π
π¦ Purpose:
!>
!> 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.
!>
so basically she does the classic y := alpha*A*x + beta*y thing β alpha and beta are just scalars, x and y are n-element vectors, and A is an n by n symmetric matrix. iconic behavior tbh π₯
π Parameters π
UPLO
UPLO is CHARACTER*1 β on entry, UPLO tells her which triangular part of the array A she should be looking at, like this:
UPLO = 'U' or 'u'β only the upper triangular part ofAis referenced, periodt.UPLO = 'L' or 'l'β only the lower triangular part ofAis referenced, and that's that πΈ
N
N is INTEGER β on entry, N specifies the order of the matrix A. and lowkey the one rule: N must be at least zero. do not come in here with a negative N bestie π
ALPHA
ALPHA is REAL β on entry, ALPHA specifies the scalar alpha. that's it, that's the whole vibe β¨
A
A is REAL array, dimension ( LDA, N ) β okay so listen:
- Before entry with
UPLO = 'U'or'u', the leading n by n upper triangular part of the arrayAmust contain the upper triangular part of the symmetric matrix, and the strictly lower triangular part ofAis not referenced. she's not even looking at it π - Before entry with
UPLO = 'L'or'l', the leading n by n lower triangular part of the arrayAmust contain the lower triangular part of the symmetric matrix, and the strictly upper triangular part ofAis not referenced. same energy, flipped π¦
LDA
LDA is INTEGER β on entry, LDA specifies the first dimension of A as declared in the calling (sub) program. LDA must be at least max( 1, n ). no exceptions, bestie π«Ά
X
X is REAL array, dimension at least ( 1 + ( n - 1 )*abs( INCX ) ) β before entry, the incremented array X must contain the n element vector x. give her the goods π
INCX
INCX is INTEGER β on entry, INCX specifies the increment for the elements of X. INCX must not be zero. like, at all. ever. π
BETA
BETA is REAL β on entry, BETA specifies the scalar beta. and here's a cute little shortcut: when BETA is supplied as zero then Y need not be set on input. you're welcome π
Y
Y is REAL array, dimension at least ( 1 + ( n - 1 )*abs( INCY ) ) β before entry, the incremented array Y must contain the n element vector y. On exit, Y is overwritten by the updated vector y. so yeah, she's destructive in the fun way β your old y is gone, replaced by the new one π
INCY
INCY is INTEGER β on entry, INCY specifies the increment for the elements of Y. INCY must not be zero. same rule as INCX, fr fr π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad, honestly. legends only π§
β 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.
!>
- she's a Level 2 Blas routine, iykyk π
- the vector and matrix arguments are not referenced when
N = 0, orM = 0β so no touching, no reading, nothing. she's not nosy π - written on 22-October-1986 by Jack Dongarra (Argonne National Lab.), Jeremy Du Croz (Nag Central Office.), Sven Hammarling (Nag Central Office.), and Richard Hanson (Sandia National Labs.) β actual vintage icons, we stan πΈ
Definition at line 151 of file ssymv.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. (yes bestie, a robot wrote this bit, not me π )
and that's the whole page! π LAPACK, Version 3.12.0 β documented for BLAS/SRC/ssymv.f(3), mwah, go forth and multiply your symmetric matrices π¦πβ¨
π¦ where this page comes from
- arch rolling: lapack-doc 3.12.1-2 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms