BLAS/SRC/sgemv.f(3)
β¨ BLAS/SRC/sgemv.f(3) β¨
Okay so bestie, welcome to the BLAS/SRC/sgemv.f(3) manual page π
This is the Library Functions Manual energy, and we're about to get into some Level 2 BLAS realness. No cap, this one's a classic. Let's go! π
β¨ NAME β¨
BLAS/SRC/sgemv.f β it's giving matrix-vector multiplication, main character energy π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine sgemv (trans, m, n, alpha, a, lda, x, incx, beta, y, incy)
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)
SGEMV β literally the icon, the moment, the legend π
β¨ 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.
It's giving "I do one thing and I do it flawlessly" β¨ periodt.
β¨ Parameters β¨
TRANSβ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. π«ΆNβNisINTEGER. On entry,Nspecifies the number of columns of the matrixA.Nmust be at least zero. π«ΆALPHAβALPHAisREAL. On entry,ALPHAspecifies the scalar alpha. Slay scalar πAβAisREAL array, dimension ( LDA, N ). Before entry, the leadingmbynpart of the arrayAmust contain the matrix of coefficients. Iconic matrix behavior π₯LDAβLDAisINTEGER. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, m ). No cap π§’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 arrayXmust contain the vectorx. Obsessed with this vector energy πΈ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. Lowkey efficient π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 withBETAnon-zero, the incremented arrayYmust contain the vectory. On exit,Yis overwritten by the updated vectory.
If eithermornis zero, thenYnot referenced and the function performs a quick return. π
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.
The academic legends themselves πβ¨
β¨ Further Details β¨
!>Level 2 Blas routine.!>The vector and matrix arguments are not referenced whenN = 0, orM = 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.
I mean, the way that this routine has been slaying since 1986? We stan a timeless icon π π
Definition at line 157 of file sgemv.f.
β¨ Author β¨
Generated automatically by Doxygen for LAPACK from the source code.
π Okay bestie, that's a wrap! This page is from LAPACK Version 3.12.0, generated automatically by Doxygen for LAPACK from the source code. Slay, and remember: always check your increments. π«Άβ¨π
π¦ 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