BLAS/SRC/ctpmv.f(3)
π BLAS/SRC/ctpmv.f β the CTPMV glow-up π
okay bestie, welcome to the <pink>LAPACK</pink> BLAS pages, this one's BLAS/SRC/ctpmv.f and she's a real one π
β¨ NAME β¨
BLAS/SRC/ctpmv.f β no cap, that's the whole name, she's lowkey mysterious like that π¦
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine ctpmv (uplo, trans, diag, n, ap, x, incx)
CTPMV β that's her, that's the icon π
π Function/Subroutine Documentation π
subroutine ctpmv (character uplo, character trans, character diag, integer
n, complex, dimension(*) ap, complex, dimension(*) x, integer incx)
CTPMV π«Ά
π Purpose π
so like, CTPMV 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, supplied in packed form. literally packed, she's traveling light βοΈπ
β Parameters β
UPLOβUPLOisCHARACTER*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β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 as follows: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 allowed, she's chill like that π)APβAPisCOMPLEXarray, dimension at least( ( n*( n + 1 ) )/2 ).
Before entry with UPLO = 'U' or 'u', the array AP must contain the upper triangular matrix packed sequentially, column by column, so that AP( 1 ) contains a( 1, 1 ), AP( 2 ) and AP( 3 ) contain a( 1, 2 ) and a( 2, 2 ) respectively, and so on.
Before entry with UPLO = 'L' or 'l', the array AP must contain the lower triangular matrix packed sequentially, column by column, so that AP( 1 ) contains a( 1, 1 ), AP( 2 ) and AP( 3 ) contain a( 2, 1 ) and a( 3, 1 ) respectively, and so on.
Note that when DIAG = 'U' or 'u', the diagonal elements of A are not referenced, but are assumed to be unity. she's not even looking at them, she just knows π
XβXisCOMPLEXarray, dimension at least( 1 + ( n - 1 )*abs( INCX ) ).
Before entry, the incremented array X must contain the n element vector x. On exit, X is overwritten with the transformed vector x. yeah she ate and left no crumbs π
INCXβINCXisINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. fr fr, not zero, do not do it π«
π§ Author π§
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad showed up, main character energy across four institutions ππππ
π 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.
okay so fun fact,N = 0orM = 0and she literally does not reference the vector and matrix arguments at all. nothing. ghosted. iconic behaviour honestly πβ¨
Definition at line 141 of file ctpmv.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code. (yes bestie, a robot wrote the docs, we stan automation π€π)
Version 3.12.0 β Tue Nov 28 2023 12:08:41 β BLAS/SRC/ctpmv.f(3)
and that's the whole page, bestie!! go forth and pack your triangular matrices, stay hydrated, and remember: INCX is never zero π
πβ¨π¦πΈππ«Άπ₯ππβπ
π¦ 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