ZTPSV(3)
π ZTPSV(3) β Library Functions Manual β¨
okay so bestie, youβve landed on <purple>ZTPSV(3)</purple> from the Library Functions Manual, and this page is lowkey a whole Level 2 BLAS moment. Weβre gonna keep every flag, every type, every value, and every warning exactly as it is β just with way more sparkle. π«Άπ
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/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, complex*16, dimension(*) x, integer
incx)
ZTPSV
π Purpose π
Okay so <purple>ZTPSV</purple> solves one of these systems of equations, and thatβs the whole vibe:
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. π¦β¨
β οΈ no cap: No test for singularity or near-singularity is included in this routine. Such tests must be performed before calling this routine. So do your own vibe check before you call it, bestie ππ
π Parameters π
π UPLO
UPLO is CHARACTER*1. On entry, it tells us whether A 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
TRANS is CHARACTER*1. On entry, it picks which equation gets solved:
TRANS = 'N' or 'n'βA*x = b.TRANS = 'T' or 't'βA**T*x = b.TRANS = 'C' or 'c'βA**H*x = b.
π DIAG
DIAG is CHARACTER*1. On entry, it says whether A is unit triangular or not:
DIAG = 'U' or 'u'βAis assumed to be unit triangular.DIAG = 'N' or 'n'βAis not assumed to be unit triangular.
π N
N is INTEGER. On entry, N is the order of the matrix A. It must be at least zero. π
π AP
AP is a COMPLEX*16 array with 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 )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 array AP must contain the lower triangular matrix packed sequentially, column by column, so that:
AP( 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 of A are not referenced, but are assumed to be unity. π
π X
X is a COMPLEX*16 array with 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. π
π INCX
INCX is INTEGER. On entry, INCX specifies the increment for the elements of X. INCX must 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. π€β¨
xoxo, your LAPACK bestie π β LAPACK Version 3.12.0, source /home/abui...SRC/ztpsv.f(3), routine stamped 22-October-1986 in the details above. slay responsibly, bestie π«Άπ
π¦ 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