STPMV(3)
πΈ NAME πΈ
Library Functions Manual energy, bestie β this page is titled stpmv.f(3), and itβs documenting this source file:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/stpmv.f
β¨ SYNOPSIS β¨
π§ Functions/Subroutines π§
subroutine STPMV (uplo, trans, diag, n, ap, x, incx)
STPMV
π Function/Subroutine Documentation π
subroutine STPMV (character uplo, character trans, character diag, integer n, real, dimension(*) ap, real, dimension(*) x, integer incx)
And the name on the tin is STPMV.
π Purpose π
Okay so hereβs the whole vibe: STPMV performs one of the matrix-vector operations
x := A*x, or x := A**T*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. Slay. π
π₯ Parameters π₯
UPLOβCHARACTER*1. On entry,UPLOsays whether the matrix is upper or lower triangular:UPLO = 'U'or'u'βAis an upper triangular matrix.UPLO = 'L'or'l'βAis a lower triangular matrix.
TRANSβCHARACTER*1. On entry,TRANSpicks the operation:TRANS = 'N'or'n'βx := A*x.TRANS = 'T'or't'βx := A**T*x.TRANS = 'C'or'c'βx := A**T*x.
DIAGβCHARACTER*1. On entry,DIAGtells us whetherAis unit triangular: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.APβREAL array, dimension at least( ( n*( n + 1 ) )/2 ). Hereβs the packing tea:- 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.
- Before entry with
XβREAL 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.INCXβINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero.
π¨ Bestie, for real: INCX must not be zero.
π 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.
Definition at line 141 of file stpmv.f.
π«Ά Author π«Ά
Generated automatically by Doxygen for LAPACK from the source code.
π LAPACK Version 3.12.0 β source/page path: /home/abui...SRC/stpmv.f(3) β thatβs the whole manual page, bestie. Periodt. π
π¦ 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