CHBMV(3)
bestie, welcome to the chbmv.f(3) page from the Library Functions Manual π
the header/footer path is /home/abui...SRC/chbmv.f(3), and this whole page is a Doxygen-generated LAPACK situation. ok so letβs get into it β¨
π NAME π
literally just the source file path: /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/chbmv.f β thatβs the whole NAME section, no cap.
β¨ SYNOPSIS β¨
π¦ Functions/Subroutines π¦
subroutine CHBMV (uplo, n, k, alpha, a, lda, x, incx, beta, y, incy)β this is the subroutine, also labeledCHBMV.
subroutine CHBMV (uplo, n, k, alpha, a, lda, x, incx, beta, y, incy)
CHBMV
π Function/Subroutine Documentation π
subroutine CHBMV (character uplo, integer n, integer k, complex alpha,
complex, dimension(lda,*) a, integer lda, complex, dimension(*) x,
integer incx, complex beta, complex, dimension(*) y, integer incy)
CHBMV
πΈ Purpose πΈ
ok so the purpose is this, bestie:
!>
!> CHBMV 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 hermitian band matrix, with k super-diagonals.
!>
π«Ά Parameters π«Ά
UPLOβ isCHARACTER*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 ofAis being supplied.UPLO = 'L'or'l'β the lower triangular part ofAis being supplied.
Nβ isINTEGER. On entry,Nspecifies the order of the matrixA.Nmust be at least zero.Kβ isINTEGER. On entry,Kspecifies the number of super-diagonals of the matrixA.Kmust satisfy0 .le. K.ALPHAβ isCOMPLEX. On entry,ALPHAspecifies the scalar alpha.Aβ isCOMPLEX array, dimension ( LDA, N ). Before entry withUPLO = 'U'or'u', the leading( k + 1 )bynpart of the arrayAmust contain the upper triangular band part of the hermitian 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 rowk, and so on. The top leftkbyktriangle of the arrayAis not referenced.
The following program segment will transfer the upper triangular part of a hermitian 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 hermitian 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 hermitian 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
Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero.
LDAβ isINTEGER. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at least( k + 1 ).Xβ isCOMPLEX array, dimension at least ( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented arrayXmust contain the vectorx.INCXβ isINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero.BETAβ isCOMPLEX. On entry,BETAspecifies the scalar beta.Yβ isCOMPLEX 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β isINTEGER. 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.
π₯ 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 186 of file chbmv.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
ok bye bestie π«Ά β this page is from LAPACK Version 3.12.0 and the source path is /home/abui...SRC/chbmv.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