BLAS/SRC/ztrmv.f(3)
β¨ NAME β¨
BLAS/SRC/ztrmv.f β bestie, this is the home of ztrmv, a BLAS Level 2 routine that does triangular matrix-vector multiplication and does it flawlessly π
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine ztrmv (uplo, trans, diag, n, a, lda, x, incx)
ZTRMV
π¦ Function/Subroutine Documentation π¦
subroutine ztrmv β the whole 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. 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. it's giving linear algebra main character energy fr fr π
π Parameters π
UPLOβ bestie, this one isCHARACTER*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β alsoCHARACTER*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β yep,CHARACTER*1again. On entry,DIAGspecifies whether or notAis unit triangular as follows:DIAG = 'U' or 'u'βAis assumed to be unit triangular. (diagonal is just vibes, aka ones π«Ά)DIAG = 'N' or 'n'βAis not assumed to be unit triangular. (the diagonal is real and it counts π)
Nβ this one's anINTEGER. On entry,Nspecifies the order of the matrixA.Nmust be at least zero. no negatives, we don't do that here πAβAisCOMPLEX*16array, dimension( LDA, N ).- Before entry with
UPLO = 'U' or 'u', the leadingnbynupper triangular part of the arrayAmust contain the upper triangular matrix and the strictly lower triangular part ofAis not referenced. - Before entry with
UPLO = 'L' or 'l', the leadingnbynlower triangular part of the arrayAmust contain the lower triangular matrix and the strictly upper triangular part ofAis not referenced. - Note that when
DIAG = 'U' or 'u', the diagonal elements ofAare not referenced either, but are assumed to be unity. so like, they're off living their own life, untouched, iconic π
- Before entry with
LDAβINTEGERgirlie. On entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, n ). don't play with this one β οΈXβXisCOMPLEX*16array, dimension at least( 1 + ( n - 1 )*abs( INCX ) ).- Before entry, the incremented array
Xmust contain thenelement vectorx. On exit,Xis overwritten with the transformed vectorx. glow up complete, bestie π
- Before entry, the incremented array
INCXβINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. zero is NOT the move here, fr. π«
π 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, 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.
the way this routine has been serving since 1986 and still ate... legends only π
β Definition β
Definition at line 146 of file ztrmv.f.
πΈ Author (yes, again) πΈ
Generated automatically by Doxygen for LAPACK from the source code. she's automated, she's efficient, she's literally built different π€β¨
Version 3.12.0 Β· Tue Nov 28 2023 12:08:41 β and that's the whole page bestie, tysm for reading, go call ztrmv responsibly, 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