BLAS/SRC/cgbmv.f(3)
okay so bestie, welcome to BLAS/SRC/cgbmv.f(3) β that's the page name β and it lives in the Library Functions Manual. it's giving linear algebra, it's giving band matrix, and honestly? CGBMV ate. π
β¨
πΈ NAME πΈ
BLAS/SRC/cgbmv.f β that's the file name, periodt. π
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine cgbmv (trans, m, n, kl, ku, alpha, a, lda, x, incx, beta, y,
incy)
CGBMV
π Function/Subroutine Documentation π
π subroutine cgbmv π
subroutine cgbmv (character trans, integer m, integer n, integer kl, integer
ku, complex alpha, complex, dimension(lda,*) a, integer lda, complex,
dimension(*) x, integer incx, complex beta, complex, dimension(*) y,
integer incy)
CGBMV
CGBMV
π Purpose π
okay so CGBMV performs one of these matrix-vector operations, and yes you need all three:
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 band matrix, with kl sub-diagonals and ku super-diagonals. iconic band-matrix behavior, no cap. π
πΈ 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. no negative row era, bestie. π«ΆNβN is INTEGER. On entry,Nspecifies the number of columns of the matrixA.Nmust be at least zero. same energy: zero or more. β¨KLβKL is INTEGER. On entry,KLspecifies the number of sub-diagonals of the matrixA.KLmust satisfy0 .le. KL. keep it legal, okay? πKUβKU is INTEGER. On entry,KUspecifies the number of super-diagonals of the matrixA.KUmust satisfy0 .le. KU. yes, super-diagonals need love too. π¦ALPHAβALPHA is COMPLEX. On entry,ALPHAspecifies the scalaralpha. literally the scalar alpha, main character scalar. βAβA is COMPLEX array, dimension ( LDA, N ). Before entry, the leading( kl + ku + 1 )bynpart of the arrayAmust contain the matrix of coefficients, supplied column by column, with the leading diagonal of the matrix in row( ku + 1 )of the array, the first super-diagonal starting at position2in rowku, the first sub-diagonal starting at position1in row( ku + 2 ), and so on. Elements in the arrayAthat do not correspond to elements in the band matrix (such as the top leftkubykutriangle) are not referenced. The following program segment will transfer a band matrix from conventional full matrix storage to band storage:
DO 20, J = 1, N
K = KU + 1 - J
DO 10, I = MAX( 1, J - KU ), MIN( M, J + KL )
A( K + I, J ) = matrix( I, J )
10 CONTINUE
20 CONTINUE
LDAβLDA is INTEGER. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at least( kl + ku + 1 ). don't skimp on the leading dimension, bestie. π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. it's the vector, it's incremented, it's ready. π₯INCXβINCX is INTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. zero increment is not the vibe. π«BETAβBETA is COMPLEX. On entry,BETAspecifies the scalarbeta. WhenBETAis supplied as zero thenYneed not be set on input. cute shortcut, lowkey. π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, the incremented arrayYmust contain the vectory. On exit,Yis overwritten by the updated vectory. If eithermornis zero, thenYis not referenced and the function performs a quick return. quick-return queen. πINCYβINCY is INTEGER. On entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero. again: not zero, bestie. π
π 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, 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.
Definition at line 188 of file cgbmv.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
mwah π β this cutie comes from LAPACK, Version 3.12.0, on the BLAS/SRC/cgbmv.f(3) page. π«Άβ¨
π¦ 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