BLAS/SRC/ztpsv.f(3)
πΈ BLAS/SRC/ztpsv.f(3) β Library Functions Manual πΈ
okay so this is the glow-up of the BLAS/SRC/ztpsv.f(3) page from the Library Functions Manual, bestie. We're talking ZTPSV: the Level 2 BLAS girlie who solves triangular systems with packed complex*16 matrices. Let's get into it π
β¨
π NAME
BLAS/SRC/ztpsv.f
β¨ SYNOPSIS
π οΈ Functions/Subroutines
subroutine ztpsv (uplo, trans, diag, n, ap, x, incx)
ZTPSV
π Function/Subroutine Documentation
π subroutine ztpsv (character uplo, character trans, character diag, integer n, complex*16, dimension() ap, complex16, dimension(*) x, integer incx)
subroutine ztpsv (character uplo, character trans, character diag, integer
n, complex*16, dimension(*) ap, complex*16, dimension(*) x, integer
incx)
ZTPSV. That's the name, no cap.
π Purpose
okay so ZTPSV solves one of these systems of equations, and yes you need to pick which one with TRANS:
A*x = b, or A**T*x = b, or A**H*x = b,
where b and x are n element vectors and A is an n by n unit, or non-unit, upper or lower triangular matrix, supplied in packed form. iconic packed-storage behavior, honestly.
π¨ real talk: no test for singularity or near-singularity is included in this routine. Such tests must be performed before calling this routine. So do your vibe check first, bestie, because ZTPSV is not doing it for you π
π Parameters
UPLOβCHARACTER*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βCHARACTER*1. On entry,TRANSspecifies the equations to be solved as follows:TRANS = 'N'or'n'βA*x = b.TRANS = 'T'or't'βA**T*x = b.TRANS = 'C'or'c'βA**H*x = b.
DIAGβCHARACTER*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βINTEGER. On entry,Nspecifies the order of the matrixA.Nmust be at least zero.APβCOMPLEX*16array, dimension at least( ( n*( n + 1 ) )/2 ). Before entry withUPLO = '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 withUPLO = '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 whenDIAG = 'U'or'u', the diagonal elements ofAare not referenced, but are assumed to be unity.XβCOMPLEX*16array, dimension at least( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented arrayXmust contain thenelement right-hand side vectorb. On exit,Xis overwritten with the solution vectorx.INCXβINTEGER. 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.
-- 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 143 of file ztpsv.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, bestie. signing off from LAPACK Version 3.12.0, page BLAS/SRC/ztpsv.f(3) πβ¨π«Ά
π¦ 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