CGEMV(3)
π CGEMV(3) π β your Library Functions Manual era β¨
okay so bestie, this is the page for CGEMV, and it is lowkey giving βlinear algebra but make it a group chat.β π
π NAME π
the file for this page is literally /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/cgemv.f β that's the whole NAME section, no cap. π
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine CGEMV (trans, m, n, alpha, a, lda, x, incx, beta, y, incy)
CGEMV
CGEMV β yes, that's the subroutine name, and it's iconic. π
π¦ Function/Subroutine Documentation π¦
subroutine CGEMV (character trans, integer m, integer n, complex alpha,
complex, dimension(lda,*) a, integer lda, complex, dimension(*) x,
integer incx, complex beta, complex, dimension(*) y, integer incy)
CGEMV β again, the name, because the manual says so. π«Ά
π Purpose π
okay so CGEMV performs one of the matrix-vector operations β and here they are, exactly:
y := alpha*A*x + beta*y, or y := alpha*A**T*x + beta*y, or
y := alpha*A**H*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βTRANS is CHARACTER*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**H*x + beta*y.
MβM is INTEGER. On entry,Mspecifies the number of rows of the matrixA.Mmust be at least zero. πNβN is INTEGER. On entry,Nspecifies the number of columns of the matrixA.Nmust be at least zero. πALPHAβALPHA is COMPLEX. On entry,ALPHAspecifies the scalar alpha. β¨AβA is COMPLEX array, dimension ( LDA, N ). Before entry, the leadingmbynpart of the arrayAmust contain the matrix of coefficients. πLDAβLDA is INTEGER. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, m ). πXβX is COMPLEX 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. πΈINCXβINCX is INTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. π¨BETAβBETA is COMPLEX. On entry,BETAspecifies the scalar beta. WhenBETAis supplied as zero thenYneed not be set on input. πYβY is COMPLEX 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βINCY is INTEGER. On entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero. π¨
π¨ real talk:INCXmust not be zero, andINCYmust not be zero. That's not a vibe suggestion, that's the manual. π
π 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 159 of file cgemv.f. π
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π€β¨
π okay bestie, that's the whole page β later, and remember: CGEMV ate and left no crumbs. π
π
source/version sign-off: LAPACK Version 3.12.0, from /home/abui...SRC/cgemv.f(3). π
π¦ 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