BLAS/SRC/sgemv.f(3)
π NAME π
BLAS/SRC/sgemv.f β bestie, this is the file you're looking at, and it's literally the home of the SGEMV routine. iykyk β¨
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine sgemv (trans, m, n, alpha, a, lda, x, incx, beta, y, incy)β aka SGEMV π
πΈ Function/Subroutine Documentation πΈ
subroutine sgemv (character trans, integer m, integer n, real alpha, real, dimension(lda,*) a, integer lda, real, dimension(*) x, integer incx, real beta, real, dimension(*) y, integer incy)
okay so this is SGEMV and she's iconic π
π Purpose π
SGEMV performs one of the matrix-vector operations
y := alpha*A*x + beta*y, or y := alpha*A**T*x + beta*y,
where alpha and beta are scalars, x and y are vectors and A is an m by n matrix. periodt. π
β¨ Parameters β¨
TRANSβ bestie,TRANSisCHARACTER*1. On entry,TRANSspecifies the operation to be performed as follows:TRANS = 'N' or 'n'βy := alpha*A*x + beta*y.TRANS = 'T' or 't'βy := alpha*A**T*x + beta*y.TRANS = 'C' or 'c'βy := alpha*A**T*x + beta*y.
MβMisINTEGER. On entry,Mspecifies the number of rows of the matrixA.Mmust be at least zero. no cap. π«ΆNβNisINTEGER. On entry,Nspecifies the number of columns of the matrixA.Nmust be at least zero. πALPHAβALPHAisREAL. On entry,ALPHAspecifies the scalaralpha. πAβAisREAL array, dimension ( LDA, N ). Before entry, the leadingmbynpart of the arrayAmust contain the matrix of coefficients.LDAβLDAisINTEGER. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, m ).XβXisREAL array, dimension at least( 1 + ( n - 1 )*abs( INCX ) )whenTRANS = 'N' or 'n'- and at least
( 1 + ( m - 1 )*abs( INCX ) )otherwise.
Before entry, the incremented array X must contain the vector x. π«
INCXβINCXisINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. β οΈ like, do NOT pass zero bestie, that's not the vibe.BETAβBETAisREAL. On entry,BETAspecifies the scalarbeta. WhenBETAis supplied as zero thenYneed not be set on input. lowkey convenient β¨YβYisREAL array, dimension at least( 1 + ( m - 1 )*abs( INCY ) )whenTRANS = 'N' or 'n'- and at least
( 1 + ( n - 1 )*abs( INCY ) )otherwise.
Before entry with BETA non-zero, the incremented array Y must contain the vector y. On exit, Y is overwritten by the updated vector y.
If either m or n is zero, then Y not referenced and the function performs a quick return. πβοΈπ¨
INCYβINCYisINTEGER. On entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero. π¨ again: not 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.
Definition at line 157 of file sgemv.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. yes bestie, the robots wrote this part π€β¨
and that's the whole page fr fr β shoutout to LAPACK Version 3.12.0, dated Tue Nov 28 2023 12:08:41, from the one and only BLAS/SRC/sgemv.f(3). slay, ate, no crumbs left πππ¦πΈπ
π«Άπ
π¦ 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