ZTRMV(3)
πΈ NAME πΈ
Hey bestie! This is ztrmv.f(3) from the Library Functions Manual, and the file we're looking at is:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/ztrmv.f
β¨ SYNOPSIS β¨
π Functions/Subroutines π
Here's the little signature moment:
subroutine ZTRMV (uplo, trans, diag, n, a, lda, x, incx)
ZTRMV
π FUNCTION/SUBROUTINE DOCUMENTATION π
Full signature, no cap:
subroutine ZTRMV (character uplo, character trans, character diag, integer
n, complex*16, dimension(lda,*) a, integer lda, complex*16, dimension(*)
x, integer incx)
ZTRMV
π PURPOSE π
Okay so here's the tea: ZTRMV performs one of the matrix-vector operations
x := A*x, or x := A**T*x, or x := A**H*x,
where x is an n element vector and A is an n by n unit, or non-unit, upper or lower triangular matrix. Obsessed with a triangular glow-up. β¨
π§ PARAMETERS π§
Every parameter, every vibe, all facts preserved:
UPLOβCHARACTER*1. On entry,UPLOspecifies whether the matrix is an upper or lower triangular matrix as follows:UPLO = 'U' or 'u'βAis an upper triangular matrix.UPLO = 'L' or 'l'βAis a lower triangular matrix.
TRANSβCHARACTER*1. On entry,TRANSspecifies the operation to be performed as follows:TRANS = 'N' or 'n'βx := A*x.TRANS = 'T' or 't'βx := A**T*x.TRANS = 'C' or 'c'βx := A**H*x.
DIAGβCHARACTER*1. On entry,DIAGspecifies whether or notAis unit triangular as follows:DIAG = 'U' or 'u'βAis assumed to be unit triangular.DIAG = 'N' or 'n'βAis not assumed to be unit triangular.
NβINTEGER. On entry,Nspecifies the order of the matrixA.Nmust be at least zero.AβCOMPLEX*16 array, dimension ( LDA, N ).Before entry withUPLO = 'U' or 'u', the leading n by n upper triangular part of the arrayAmust contain the upper triangular 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 matrix and the strictly upper triangular part ofAis not referenced. Note that whenDIAG = 'U' or 'u', the diagonal elements ofAare not referenced either, but are assumed to be unity.LDAβINTEGER. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, n ).XβCOMPLEX*16 array, dimension at least ( 1 + ( n - 1 )*abs( INCX ) ).Before entry, the incremented arrayXmust contain the n element vectorx. On exit,Xis overwritten with the transformed vectorx.INCXβINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero.
Lowkey important:Ncan be zero,LDAhas to be at leastmax( 1, n ), andINCXabsolutely cannot be zero. Periodt. π
π AUTHOR π
The human icons behind it:
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π₯ FURTHER DETAILS π₯
Some extra lore, bestie:
- Level 2 Blas routine.
- The vector and matrix arguments are not referenced when
N = 0, orM = 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 146 of file ztrmv.f.
π AUTHOR (the Doxygen auto-credit) π
Generated automatically by Doxygen for LAPACK from the source code.
π Signed off with LAPACK Version 3.12.0, from /home/abui...SRC/ztrmv.f(3) β original write date 22-October-1986, iconic. π
π¦ 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