BLAS/SRC/ctpsv.f(3)
π NAME π
BLAS/SRC/ctpsv.f β bestie, this is from the LAPACK manual (section 3, so it's the file-path-style page), and it's literally the home of ctpsv, your girl for solving triangular systems with complex numbers in packed form β¨
π SYNOPSIS π
Functions/Subroutines
subroutine ctpsv (uplo, trans, diag, n, ap, x, incx)
CTPSV
πΈ Function/Subroutine Documentation πΈ
subroutine ctpsv
subroutine ctpsv (character uplo, character trans, character diag, integer
n, complex, dimension(*) ap, complex, dimension(*) x, integer incx)
CTPSV π«Ά
β¨ Purpose β¨
Okay so listen: CTPSV solves one of these systems of equations, no cap:
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 π
β οΈ Big important heads-up: there is no test for singularity or near-singularity included in this routine. Such tests must be performed before calling this routine. She will not warn you, she will just go. Periodt. π
π 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 array, 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 array, 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. she gets replaced, that's the whole gig π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 ctpsv.f.
π§ Author π§
Generated automatically by Doxygen for LAPACK from the source code.
okay that's the whole page, you ate it, go solve some triangular systems bestie π«Άβ¨
Version 3.12.0 β Tue Nov 28 2023 12:08:41 β BLAS/SRC/ctpsv.f(3) πππΈ
π¦ 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