STPSV(3)
π STPSV(3) β like, the packed triangular solve of your DREAMS β¨
okay bestie, so this whole page lives at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/BLAS/SRC/stpsv.f β that's the NAME line, she's long, she's a whole path, we stan a thorough queen π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine STPSV (uplo, trans, diag, n, ap, x, incx)
STPSV β that's her. That's the whole name. Iconic, no notes. π
π¦ Function/Subroutine Documentation π¦
subroutine STPSV (character uplo, character trans, character diag, integer
n, real, dimension(*) ap, real, dimension(*) x, integer incx)
STPSV β say it with me now π
πΈ Purpose πΈ
!> STPSV solves one of the systems of equations !>A*x = b, orA**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. !> No test for singularity or near-singularity is included in this !> routine. Such tests must be performed before calling this routine.
so basically, bestie: she solves linear systems for you, but she is not out here checking whether your matrix is singular or nearly singular. π«Ά That's your job, no cap. Do that check before you call her, fr fr. π
π Parameters π
UPLOβCHARACTER*1. On entry, UPLO tells her whether the matrix is upper or lower triangular, like this:UPLO = 'U' or 'u'β A is an upper triangular matrix.UPLO = 'L' or 'l'β A is a lower triangular matrix.
TRANSβCHARACTER*1. On entry, TRANS says which equation situation we're in:TRANS = 'N' or 'n'βA*x = b.TRANS = 'T' or 't'βA**T*x = b.TRANS = 'C' or 'c'βA**T*x = b.
DIAGβCHARACTER*1. On entry, DIAG says whether A is unit triangular or not:DIAG = 'U' or 'u'β A is assumed to be unit triangular.DIAG = 'N' or 'n'β A is not assumed to be unit triangular.
NβINTEGER. On entry, N is the order of the matrix A. The way that N has to be at least zero. Zero is fine, negative is not, periodt. π«APβREALarray, dimension at least( ( n*( n + 1 ) )/2 ). Before entry withUPLO = 'U' or 'u', the array AP must 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 array AP must 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 of A are not referenced, but are assumed to be unity. π lowkey free real estateXβREALarray, dimension at least( 1 + ( n - 1 )*abs( INCX ) ). Before entry, the incremented array X must contain the n element right-hand side vector b. On exit, X is overwritten with the solution vector x. π₯ she takes your b and gives you back an x, that's the whole plotINCXβINTEGER. On entry, INCX specifies the increment for the elements of X.INCXmust not be zero. seriously. do not. π
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
the whole squad, iykyk π«Ά
β 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.
1986!! she's been serving since the eighties, that's main character energy fr fr π
Definition at line 143 of file stpsv.f. β¨
π Author (the meta one) π
Generated automatically by Doxygen for LAPACK from the source code. not a human, just vibes and a parser π§
and that's the page, bestie π β LAPACK, Version 3.12.0, dated /home/abui...SRC/stpsv.f(3) on the way out. go forth and solve your triangular systems, she's rooting for you πππ¦
π¦ 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