BLAS/SRC/ztrsv.f(3)
π BLAS/SRC/ztrsv.f β like, the whole manual, bestie
okay so this is the man page for BLAS/SRC/ztrsv.f (that's the file it lives in, iykyk) and honestly? it's giving "small routine, big main character energy." pull up a chair π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine ztrsv (uplo, trans, diag, n, a, lda, x, incx)β literally justZTRSV, that's the whole vibe
π¦ Function/Subroutine Documentation π¦
subroutine ztrsv (character uplo, character trans, character diag, integer n, complex*16, dimension(lda,*) a, integer lda, complex*16, dimension(*) x, integer incx)
ZTRSV β bestie, that's the name, that's the function π
πΈ Purpose:
!>
!> ZTRSV solves one of the systems of equations
!>
!> 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.
!>
!> No test for singularity or near-singularity is included in this
!> routine. Such tests must be performed before calling this routine.
!>
so like, ztrsv solves one of these systems of equations:
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. slay π
β οΈ okay this is the important part, do NOT skip it: no test for singularity or near-singularity is included in this routine. such tests must be performed before calling this routine. fr fr, it will not vibe check your matrix for you π
π« Parameters
UPLOβUPLOisCHARACTER*1. on entry,UPLOspecifies whether the matrix is an upper or lower triangular matrix, as follows:
UPLO = 'U' or 'u' A is an upper triangular matrix.
UPLO = 'L' or 'l' A is a lower triangular matrix.
TRANSβTRANSisCHARACTER*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βDIAGisCHARACTER*1. on entry,DIAGspecifies whether or notAis unit triangular, as follows:
DIAG = 'U' or 'u' A is assumed to be unit triangular.
DIAG = 'N' or 'n' A is not assumed to be unit
triangular.
NβNisINTEGER. on entry,Nspecifies the order of the matrixA.Nmust be at least zero.AβAisCOMPLEX*16array, dimension( LDA, N ). before entry withUPLO = 'U'or'u', the leadingnbynupper triangular part of the arrayAmust contain the upper triangular matrix and the strictly lower triangular part ofAis not referenced. before entry withUPLO = 'L'or'l', the leadingnbynlower triangular part of the arrayAmust contain the lower triangular matrix and the strictly upper triangular part ofAis not referenced. note that whenDIAG = 'U'or'u', the diagonal elements ofAare not referenced either, but are assumed to be unity. π«ΆLDAβLDAisINTEGER. on entry,LDAspecifies the first dimension ofAas declared in the calling (sub) program.LDAmust be at leastmax( 1, n ).XβXisCOMPLEX*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. π¦ (glow-up:bgoes in,xcomes out, iconic)INCXβINCXisINTEGER. on entry,INCXspecifies the increment for the elements ofX.INCXmust not be zero. π like, seriously, not 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.
!>
it's a Level 2 Blas routine β β written on 22-October-1986 by Jack Dongarra (Argonne National Lab), Jeremy Du Croz (Nag Central Office), Sven Hammarling (Nag Central Office) and Richard Hanson (Sandia National Labs). literal legends, no cap π₯
Definition at line 148 of file ztrsv.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code. (yes bestie, the man page has two Author sections, and we keep both, we don't erase herstory π )
kisses and triangular matrices, mwah π β this little love letter is from LAPACK, Version 3.12.0, dated BLAS/SRC/ztrsv.f(3), and that's the whole page, periodt πβ¨
π¦ 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