BLAS/SRC/chemv.f(3)
π chemv β BLAS/SRC/chemv.f π
okay bestie, gather round, because this is literally the hermitian matrix-vector girlboss of the BLAS catalog and she is serving. this page lives in the LAPACK manual under BLAS/SRC/chemv.f, and yes, it's giving "I do one thing and I do it flawlessly." π
β¨ NAME β¨
BLAS/SRC/chemv.f β like, that's her. that's the whole name. iconic of her honestly.
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine chemv (uplo, n, alpha, a, lda, x, incx, beta, y, incy)β this isCHEMV, our main character π
π¦ Function/Subroutine Documentation π¦
subroutine chemv (character uplo, integer n, complex alpha, complex,
dimension(lda,*) a, integer lda, complex, dimension(*) x, integer incx,
complex beta, complex, dimension(*) y, integer incy)
CHEMV β say her name, say her name π
π― Purpose
okay so what does she actually do. bestie. she 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. no cap, that's the whole job and she ate. β¨
π Parameters
UPLOβ this one isCHARACTER*1. on entry,UPLOspecifies whether the upper or lower triangular part of the arrayAis to be 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,Nspecifies the order of the matrixA. and listen,Nmust be at least zero. that's the law. π¨ALPHAβALPHAisCOMPLEX. on entry,ALPHAspecifies the scalaralpha. she's just a little guy. a scalar. a vibe. π«AβAisCOMPLEX array, dimension ( LDA, N ). so here's how it goes:- before entry with
UPLO = 'U'or'u', the leadingnbynupper triangular part of the arrayAmust contain the upper triangular part of the hermitian matrix, and the strictly lower triangular part ofAis not referenced. she's not even looking at it. π - before entry with
UPLO = 'L'or'l', the leadingnbynlower 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. so don't stress about them, bestie, she's handling it. π
- before entry with
LDAβLDAisINTEGER. on entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, n ). that's the minimum. don't test her. βXβXisCOMPLEX array, dimension at least ( 1 + ( n - 1 )*abs( INCX ) ). before entry, the incremented arrayXmust contain thenelement vectorx. π§ΊINCXβINCXisINTEGER. on entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. like, genuinely, zero is not an option here. π«BETAβBETAisCOMPLEX. on entry,BETAspecifies the scalarbeta. and here's a lil freebie: whenBETAis supplied as zero thenYneed not be set on input. she said "don't bother, I got it." π«ΆYβYisCOMPLEX array, dimension at least ( 1 + ( n - 1 )*abs( INCY ) ). before entry, the incremented arrayYmust contain thenelement vectory. on exit,Yis overwritten by the updated vectory. glow up moment, honestly. β¨INCYβINCYisINTEGER. on entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero. same energy asINCX. no zeros allowed in this house. π
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad. the council. the founding mothers and fathers of this whole operation. π
π₯ Further Details
- Level 2 Blas routine. (yes, level 2. she's a level 2 BLAS routine and she's proud of it.)
- The vector and matrix arguments are not referenced when
N = 0, orM = 0.
and then the receipts, the origin story, the lore:
-- 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.
1986!! she's been serving for decades and she has not missed a single day. a legend. a pioneer. periodt. ππ
π Definition
Definition at line 153 of file chemv.f.
π§ Author
Generated automatically by Doxygen for LAPACK from the source code. (so don't come for the formatting, the robot did it, and honestly? it ate. π€β¨)
and that's the whole page, bestie!! you now know everything there is to know about CHEMV and you didn't even have to read boring manpage prose for it. proud of you. go call her. π
Version 3.12.0 Β· Tue Nov 28 2023 12:08:41 Β· BLAS/SRC/chemv.f(3) β mwah, that's the version, that's the date, that's the file, and that's a wrap. stay hermitian. πππ¦
π¦ 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