BLAS/SRC/dtpmv.f(3)
β¨ NAME β¨
BLAS/SRC/dtpmv.f β bestie, it's the Level 2 BLAS routine that does triangular matrix-vector multiplication with the matrix all packed up π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine dtpmv (uplo, trans, diag, n, ap, x, incx)
DTPMV
π Function/Subroutine Documentation π
subroutine dtpmv (character uplo, character trans, character diag, integer n, double precision, dimension(*) ap, double precision, dimension(*) x, integer incx)
DTPMV π
πΈ Purpose πΈ
okay so here's the whole vibe: DTPMV 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. it's giving efficient, it's giving compact, no cap π
π«Ά 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**T*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 bestie, we don't gatekeep π)APβAPisDOUBLE PRECISION array, 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 whenDIAG = 'U' or 'u', the diagonal elements ofAare not referenced, but are assumed to be unity. π
XβXisDOUBLE PRECISION array, 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. glow up on the way out β¨
INCXβINCXisINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust 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 β
Definition at line 141 of file dtpmv.f.
Author: Generated automatically by Doxygen for LAPACK from the source code.
okay and that's the whole page, bestie π β this one's straight from LAPACK Version 3.12.0, dated Tue Nov 28 2023 12:08:41, filed under BLAS/SRC/dtpmv.f(3). go forth and multiply (triangularly) π¦β¨
π¦ 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