BLAS/SRC/zhemv.f(3)
β¨ BLAS/SRC/zhemv.f(3) β¨
okay bestie, welcome to the LAPACK corner of the manual, specifically the little file known as BLAS/SRC/zhemv.f π this one is a whole icon and she's about to do math on your behalf, no cap.
π NAME π
BLAS/SRC/zhemv.f β that's the file, that's the name, she's her π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine zhemv (uplo, n, alpha, a, lda, x, incx, beta, y, incy)
ZHEMV
like. that's the whole signature. one subroutine, ten arguments, zero chill. π
πΈ 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:
ok so what does she actually DO. 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. that's it, that's the vibe β¨
π§ Parameters
UPLOβ she's aCHARACTER*1. On entry,UPLOtells you whether the upper or the lower triangular part of the arrayAis the one getting referenced, and here's the tea:UPLO = 'U' or 'u'β only the upper triangular part ofAis to be referenced. π«ΆUPLO = 'L' or 'l'β only the lower triangular part ofAis to be referenced. π
NβNisINTEGER. On entry,Nis the order of the matrixA. and listen,Nmust be at least zero. no negatives, we don't do that here. πALPHAβALPHAisCOMPLEX*16. On entry,ALPHAis the scalar alpha. she's just a little guy. πAβAis aCOMPLEX*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. also note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero β so don't stress about those, bestie, she'll just assume zero. πLDAβLDAisINTEGER. On entry,LDAis the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, n ). that's the floor, don't go under it. βXβXis aCOMPLEX*16array, dimension at least( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented arrayXmust contain the n element vector x. πINCXβINCXisINTEGER. On entry,INCXis the increment for the elements ofX. andINCXmust not be zero. seriously. not zero. πBETAβBETAisCOMPLEX*16. On entry,BETAis the scalar beta. and here's a fun fact: whenBETAis supplied as zero, thenYneed not be set on input. so you can just. not. πYβYis aCOMPLEX*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 β so yes, she edits in place, that's her main character energy. πINCYβINCYisINTEGER. On entry,INCYis the increment for the elements ofY.INCYmust not be zero. same rule, same energy. π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
look at that collective. iconic. all four of them. π
π₯ Further Details:
Level 2 Blas routine.
The vector and matrix arguments are not referenced when N = 0, or M = 0
so ifN = 0, orM = 0, the vector and matrix arguments are simply not referenced. nothing happens. she's off the clock. π€
-- 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.
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). the originators. the blueprint. the founding mothers and fathers of the vibe. πβ¨
π Definition at line 153 of file zhemv.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code. she wasn't hand-written, she was manifested. π¦
okay that's the whole page bestie, you ate it, periodt. π«Ά this little doc shipped as Version 3.12.0, dated Tue Nov 28 2023 12:08:41, straight from BLAS/SRC/zhemv.f(3) β so go forth and multiply your hermitian matrices, mwah πβ¨
π¦ where this page comes from
- centos-stream 10: blas 3.12.0-7.el10 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 43: blas 3.12.0-10.fc43 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- fedora 44: blas 3.12.0-11.fc44 Β· BSD-3-Clause-Open-MPI
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms