BLAS/SRC/stpsv.f(3)
β¨ BLAS/SRC/stpsv.f β the tea on stpsv β¨
okay bestie, welcome to the LAPACK corner of the group chat, this one lives in BLAS/SRC/stpsv.f and it's lowkey a whole legend π
πΈ NAME πΈ
BLAS/SRC/stpsv.f β no cap, that's the whole name, she's mysterious like that π
π¦ SYNOPSIS π¦
Functions/Subroutines
subroutine stpsv (uplo, trans, diag, n, ap, x, incx)β aka STPSV, our main character π
Function/Subroutine Documentation
subroutine stpsv (character uplo, character trans, character diag, integer n, real, dimension(*) ap, real, dimension(*) x, integer incx)
STPSV β¨ (yes she's shouting her own name, iconic behaviour, we stan)
π PURPOSE π
okay so real talk, STPSV solves one of these systems of equations:
A*x = b, or A**T*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 π«Ά
β οΈ bestie listen. There is no test for singularity or near-singularity in this routine. None. Zero. She simply does not check. Such tests must be performed before calling this routine. This is the "I'm not your mom, check your own matrix" energy and honestly? respect π
π PARAMETERS π
UPLOβUPLOisCHARACTER*1. On entry,UPLOtells us whether the matrix is upper or lower triangular, like this:UPLO = 'U' or 'u'βAis an upper triangular matrix.UPLO = 'L' or 'l'βAis a lower triangular matrix.
TRANSβTRANSisCHARACTER*1. On entry,TRANSsays which equations we're solving, fr fr:TRANS = 'N' or 'n'βA*x = b.TRANS = 'T' or 't'βA**T*x = b.TRANS = 'C' or 'c'βA**T*x = b.
DIAGβDIAGisCHARACTER*1. On entry,DIAGsays whether or notAis unit triangular: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. (so like, zero is fine, negative is not, don't even try it π)APβAPisREALarray, dimension at least( ( n*( n + 1 ) )/2 ).- 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βXisREALarray, dimension at least( 1 + ( n - 1 )*abs( INCX ) ).- Before entry, the incremented array
Xmust contain thenelement right-hand side vectorb. On exit,Xis overwritten with the solution vectorx. she really said "new X who dis" π
- Before entry, the incremented array
INCXβINCXisINTEGER. On entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. periodt. π«
π AUTHOR π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad showed up for this one, no cap π«Ά
π§ 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.
ngl the fact that this baddie has been serving since 1986 is giving timeless, ageless, mother energy. 22-October-1986!! she's been slaying for decades π
- Definition at line 143 of file
stpsv.f. π
π« AUTHOR (the meta one) π«
Generated automatically by Doxygen for LAPACK from the source code. she was born from code, raised by docs, and she ate πΈ
okay that's the whole page bestie, every flag, every packed column, every author, all of it π
Version 3.12.0 β Tue Nov 28 2023 12:08:41 β BLAS/SRC/stpsv.f(3) π
bye ily, go check your matrices for singularity before you call her, she will NOT do it for you πβ¨π¦
π¦ 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