BLAS/SRC/ctpmv.f(3)
π BLAS/SRC/ctpmv.f π
okay bestie, this is the Library Functions Manual page for BLAS/SRC/ctpmv.f β and itβs literally all about the BLAS subroutine CTPMV. No cap, itβs giving packed-triangular-matrix-vector energy. π
β¨
πΈ NAME πΈ
BLAS/SRC/ctpmv.f β the manpage home of CTPMV, the BLAS routine that does triangular packed matrix-vector operations. π«Ά
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine ctpmv (uplo, trans, diag, n, ap, x, incx)βCTPMV
π Function/Subroutine Documentation π
subroutine ctpmv (character uplo, character trans, character diag, integer n, complex, dimension(*) ap, complex, dimension(*) x, integer incx)
CTPMV β yes, thatβs the icon. π
π― Purpose π―
okay so CTPMV performs one of these matrix-vector operations, fr fr:
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. Periodt. π
π§Έ Parameters π§Έ
UPLOβCHARACTER*1. On entry,UPLOtells us whether the matrix is upper or lower triangular. Choose your fighter:UPLO = 'U' or 'u'βAis an upper triangular matrix.UPLO = 'L' or 'l'βAis a lower triangular matrix.
TRANSβCHARACTER*1. On entry,TRANSsays which operation is happening. The vibe check: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,DIAGsays whetherAis unit triangular or not. Important little detail: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. No negative-era behavior here. π«APβCOMPLEX array, dimension at least( ( n*( n + 1 ) )/2 ). This is the packed matrix bestie:- Before entry with
UPLO = 'U' or 'u', the arrayAPmust contain the upper triangular 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 with
UPLO = 'L' or 'l', the arrayAPmust contain the lower triangular 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 when
DIAG = 'U' or 'u', the diagonal elements ofAare not referenced, but are assumed to be unity. Cute, convenient, iconic. π«
- Before entry with
XβCOMPLEX array, dimension at least( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented arrayXmust contain thenelement vectorx. On exit,Xis overwritten with the transformed vectorx. The main character gets a glow-up in place. β¨INCXβINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. Fr fr, do not test it. π
π 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. - The source says:
-- 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 141 of file ctpmv.f.
π€ Author π€
Generated automatically by Doxygen for LAPACK from the source code.
π Final sign-off, bestie: this page is LAPACK Version 3.12.0, file BLAS/SRC/ctpmv.f(3), and the date in the write-up is 22-October-1986. Byeee, go slay some packed triangular matrices π
β¨
π¦ 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