ZHEMV(3)
π ZHEMV(3) β the zhemv.f page from the Library Functions Manual β¨
okay so bestie, before anything else: this whole page lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/zhemv.f β like, that's the file, that's the whole vibe, that's the address π
π¦ SYNOPSIS
Functions/Subroutines
subroutine ZHEMV (uplo, n, alpha, a, lda, x, incx, beta, y, incy)β the one, the only, ZHEMV π
πΈ Function/Subroutine Documentation
subroutine ZHEMV (character uplo, integer n, complex*16 alpha, complex*16,
dimension(lda,*) a, integer lda, complex*16, dimension(*) x, integer
incx, complex*16 beta, complex*16, dimension(*) y, integer incy)
ZHEMV π«
π Purpose:
!>
!> ZHEMV 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 matrix.
!>
literally that's it, that's the whole math. hermitian matrix A, vectors x and y, scalars alpha and beta, and the girlies get multiplied. slay π«Ά
β¨ Parameters
UPLOβUPLOisCHARACTER*1. on entry,UPLOspecifies whether the upper or lower triangular part of the arrayAis to be referenced, like so:
!> UPLO = 'U' or 'u' Only the upper triangular part of A
!> is to be referenced.
!>
!> UPLO = 'L' or 'l' Only the lower triangular part of A
!> is to be referenced.
so 'U'/'u' = upper only, 'L'/'l' = lower only. pick your fighter π
NβNisINTEGER. on entry,Nspecifies the order of the matrixA. andNmust be at least zero. no negatives bestie, we don't do that here πALPHAβALPHAisCOMPLEX*16. on entry,ALPHAspecifies the scalar alpha. that's the whole job. iconic honestly.AβAisCOMPLEX*16array, dimension( LDA, N ). before entry withUPLO = 'U'or'u', the leading n by n upper triangular part of the arrayAmust contain the upper triangular part of the hermitian matrix, and the strictly lower triangular part ofAis not referenced. before entry withUPLO = 'L'or'l', the leading n by n lower triangular part of the arrayAmust contain the lower triangular part of the hermitian matrix, and the strictly upper triangular part ofAis not referenced. note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero π§ β yes, assumed, so don't come for her if you left them lying around πLDAβLDAisINTEGER. on entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, n ). that's the floor, bestie, no going below it βXβXisCOMPLEX*16array, dimension at least( 1 + ( n - 1 )*abs( INCX ) ). before entry, the incremented arrayXmust contain the n element vector x. π¦INCXβINCXisINTEGER. on entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. zero is not the move, fr fr π₯BETAβBETAisCOMPLEX*16. on entry,BETAspecifies the scalar beta. whenBETAis supplied as zero thenYneed not be set on input π«Ά β free pass, use it wisely.YβYisCOMPLEX*16array, dimension at least( 1 + ( n - 1 )*abs( INCY ) ). before entry, the incremented arrayYmust contain the n element vector y. on exit,Yis overwritten by the updated vector y π she gets a whole new personality, that's main character energy.INCYβINCYisINTEGER. on entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero. same rule asINCX, we stay consistent π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad showed up, we love a collaborative era π
π 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.
!>
level 2 BLAS routine, bestie. and note the caveat in there: the vector and matrix arguments are not referenced when N = 0, or M = 0 β so like, zero-size and nobody gets touched, no cap π
written on 22-October-1986 by Jack Dongarra (Argonne National Lab), Jeremy Du Croz (Nag Central Office), Sven Hammarling (Nag Central Office) and Richard Hanson (Sandia National Labs). literal legends, older than the internet, still serving π
Definition at line 153 of file zhemv.f. π
π Sign-off
this page was generated automatically by Doxygen for LAPACK from the source code, so like, a robot wrote the original β but I rewrote it for you π and it's from LAPACK, Version 3.12.0, living at /home/abui...SRC/zhemv.f(3) π ok bye, go call ZHEMV, she's waiting β¨π¦
π¦ 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