BLAS/SRC/ctrmv.f(3)
π BLAS/SRC/ctrmv.f π
ok bestie come SIT. this is a LAPACK page, specifically the ctrmv.f one from BLAS/SRC, and we're gonna read it together like it's the group chat and someone just dropped lore. no cap, it's actually kinda iconic. πΈ
β¨ NAME β¨
BLAS/SRC/ctrmv.f β that's the file, that's the whole name, she's lowkey mysterious like that. π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine ctrmv (uplo, trans, diag, n, a, lda, x, incx)
CTRMV
π Function/Subroutine Documentation π
subroutine ctrmv (character uplo, character trans, character diag, integer
n, complex, dimension(lda,*) a, integer lda, complex, dimension(*) x,
integer incx)
CTRMV β say her name, she ate. π
π Purpose:
CTRMV 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.
like. it takes your vector, it takes your triangular matrix, and it does the lil transformation thing. main character energy fr fr. β¨
π Parameters
UPLOβUPLOisCHARACTER*1. on entry,UPLOspecifies whether the matrix is an upper or lower triangular matrix, and the tea is:UPLO = 'U'or'u'βAis an upper triangular matrix.UPLO = 'L'or'l'βAis a lower triangular matrix.
TRANSβTRANSisCHARACTER*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βDIAGisCHARACTER*1. on entry,DIAGspecifies whether or notAis unit triangular, like:DIAG = 'U'or'u'βAis assumed to be unit triangular.DIAG = 'N'or'n'βAis not assumed to be unit triangular.
NβNisINTEGER. on entry,Nspecifies the order of the matrixA.Nmust be at least zero. (zero is fine bestie, she's chill like that π«Ά)AβAisCOMPLEXarray, dimension( LDA, N ). before entry withUPLO = '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 withUPLO = '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 whenDIAG = 'U'or'u', the diagonal elements ofAare not referenced either, but are assumed to be unity. π«LDAβLDAisINTEGER. on entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, n ).XβXisCOMPLEXarray, dimension at least( 1 + ( n - 1 )*abs( INCX ) ). before entry, the incremented arrayXmust contain thenelement vectorx. on exit,Xis overwritten with the transformed vectorx. she got a glow-up on the way out, periodt. π β¨INCXβINCXisINTEGER. on entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero.
ok real talk: INCX must not be zero. that's not a vibe, that's a rule. π«
π 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.
ngl the 1986 date is giving vintage and honestly it's iconic. these four wrote it and we're still running it. legends only. π
π§ Definition at line 146 of file ctrmv.f.
β Author β
Generated automatically by Doxygen for LAPACK from the source code. (yes she was born from a doc generator, still slaying, don't @ her π)
π and that's the whole page bestie π
Version 3.12.0, dated Tue Nov 28 2023 12:08:41 β that's the source and version tea, and this whole thing lives at BLAS/SRC/ctrmv.f(3). go forth and multiply your vectors. πΈπ¦π
π¦ 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