BLAS/SRC/chpmv.f(3)
π«Ά BLAS/SRC/chpmv.f β Library Functions Manual π«Ά
okay so bestie, welcome to the Library Functions Manual page for BLAS/SRC/chpmv.f. This is the chpmv subroutineβs moment, and yes, itβs giving Level-2 BLAS main character energy. Letβs get into it π
β¨
πΈ NAME πΈ
BLAS/SRC/chpmv.f β literally the file, and itβs serving the chpmv subroutine. Iconic.
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine chpmv (uplo, n, alpha, ap, x, incx, beta, y, incy)β CHPMV
π Function/Subroutine Documentation π
Hereβs the full signature, copied exactly because we do not play with source code around here:
subroutine chpmv (character uplo, integer n, complex alpha, complex,
dimension(*) ap, complex, dimension(*) x, integer incx, complex beta,
complex, dimension(*) y, integer incy)
CHPMV
So yeah β CHPMV. Thatβs the routine, thatβs the vibe π«Ά
Purpose
CHPMV 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, supplied in packed form. Periodt π«
Parameters
UPLOβ isCHARACTER*1. On entry,UPLOspecifies whether the upper or lower triangular part of the matrixAis supplied in the packed arrayAPas follows:UPLO = 'U'or'u'β the upper triangular part ofAis supplied inAP.UPLO = 'L'or'l'β the lower triangular part ofAis supplied inAP.
Nβ isINTEGER. On entry,Nspecifies the order of the matrixA.Nmust be at least zero. No negative-order nonsense, bestie π«ALPHAβ isCOMPLEX. On entry,ALPHAspecifies the scalaralpha.APβ isCOMPLEXarray, dimension at least( ( n*( n + 1 ) )/2 ). Before entry withUPLO = 'U'or'u', the arrayAPmust contain the upper triangular part of the hermitian matrix packed sequentially, column by column, so thatAP( 1 )containsa( 1, 1 ),AP( 2 )andAP( 3 )containa( 1, 2 )anda( 2, 2 )respectively, and so on. Before entry withUPLO = 'L'or'l', the arrayAPmust contain the lower triangular part of the hermitian matrix packed sequentially, column by column, so thatAP( 1 )containsa( 1, 1 ),AP( 2 )andAP( 3 )containa( 2, 1 )anda( 3, 1 )respectively, and so on. Note that the imaginary parts of the diagonal elements need not be set and are assumed to be zero. Very demure, very packed-matrix πXβ isCOMPLEXarray, dimension at least( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented arrayXmust contain thenelement vectorx.INCXβ isINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero.
bestie, fr fr: INCX must not be zero. Thatβs the rule.
BETAβ isCOMPLEX. On entry,BETAspecifies the scalarbeta. WhenBETAis supplied as zero thenYneed not be set on input.Yβ isCOMPLEXarray, dimension at least( 1 + ( n - 1 )*abs( INCY ) ). Before entry, the incremented arrayYmust contain thenelement vectory. On exit,Yis overwritten by the updated vectory.INCYβ isINTEGER. On entry,INCYspecifies the increment for the elements ofY.INCYmust not be zero.
and yes, INCY must not be zero either. We stay consistent π
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 148 of file chpmv.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
okay bestie, thatβs the whole page. Sign-off flex: LAPACK Version 3.12.0, source BLAS/SRC/chpmv.f(3) β mwah πβ¨
π¦ 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