TESTING/LIN/zsbmv.f(3)
πΈ NAME πΈ
TESTING/LIN/zsbmv.f β okay so bestie, this page is from the Library Functions Manual, and it's literally the documentation home for zsbmv.f in TESTING/LIN. It's giving "niche band-matrix subroutine with main character energy" π
β¨
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine zsbmv (uplo, n, k, alpha, a, lda, x, incx, beta, y, incy)β the one and onlyZSBMVbaddie on this page, no cap π
subroutine zsbmv (uplo, n, k, alpha, a, lda, x, incx, beta, y, incy)
ZSBMV
π Function/Subroutine Documentation π
π Purpose π
Okay so <pink>ZSBMV</pink> 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 band matrix, with k super-diagonals. Obsessed with the band-matrix lore, honestly π¦
π«Ά Arguments π«Ά
UPLOβCHARACTER*1. On entry,UPLOspecifies whether the upper or lower triangular part of the band matrixAis being supplied as follows:
UPLO = 'U' or 'u': the upper triangular part of A is being supplied.
UPLO = 'L' or 'l': the lower triangular part of A is being supplied.
Unchanged on exit. π
NβINTEGER. On entry,Nspecifies the order of the matrixA.Nmust be at least zero. Unchanged on exit. β¨KβINTEGER. On entry,Kspecifies the number of super-diagonals of the matrixA.Kmust satisfy0 .le. K. Unchanged on exit. πALPHAβCOMPLEX*16. On entry,ALPHAspecifies the scalaralpha. Unchanged on exit. π«AβCOMPLEX*16 array, dimension( LDA, N ).
Before entry with UPLO = 'U' or 'u', the leading ( k + 1 ) by n part of the array A must contain the upper triangular band part of the symmetric matrix, supplied column by column, with the leading diagonal of the matrix in row ( k + 1 ) of the array, the first super-diagonal starting at position 2 in row k, and so on. The top left k by k triangle of the array A is not referenced.
The following program segment will transfer the upper triangular part of a symmetric band matrix from conventional full matrix storage to band storage:
DO 20, J = 1, N
M = K + 1 - J
DO 10, I = MAX( 1, J - K ), J
A( M + I, J ) = matrix( I, J )
10 CONTINUE
20 CONTINUE
Before entry with UPLO = 'L' or 'l', the leading ( k + 1 ) by n part of the array A must contain the lower triangular band part of the symmetric matrix, supplied column by column, with the leading diagonal of the matrix in row 1 of the array, the first sub-diagonal starting at position 1 in row 2, and so on. The bottom right k by k triangle of the array A is not referenced.
The following program segment will transfer the lower triangular part of a symmetric band matrix from conventional full matrix storage to band storage:
DO 20, J = 1, N
M = 1 - J
DO 10, I = J, MIN( N, J + K )
A( M + I, J ) = matrix( I, J )
10 CONTINUE
20 CONTINUE
Unchanged on exit. π«Ά
LDAβINTEGER. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at least( k + 1 ). Unchanged on exit. πXβCOMPLEX*16 array, dimension at least ( 1 + ( N - 1 )*abs( INCX ) ). Before entry, the incremented arrayXmust contain the vectorx. Unchanged on exit. πINCXβINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. Unchanged on exit. π₯BETAβCOMPLEX*16. On entry,BETAspecifies the scalarbeta. Unchanged on exit. πYβCOMPLEX*16 array, dimension at least ( 1 + ( N - 1 )*abs( INCY ) ). Before entry, the incremented arrayYmust contain the vectory. On exit,Yis overwritten by the updated vectory. πINCYβINTEGER. On entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero. Unchanged on exit. πΈ
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition π
Definition at line 150 of file zsbmv.f.
π§ Author (generated) π§
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, that's the whole page β footer vibe check: LAPACK Version 3.12.0, page TESTING/LIN/zsbmv.f(3), and no fake date energy from me because the footer literally doesn't list one ππβ¨π«Ά
π¦ 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