DSPTRS(3)
π DSPTRS(3) β like, the Library Functions Manual bestie β¨
okay so picture this: you're deep in /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dsptrs.f and you need the solver. that's this file. welcome π«Ά
πΈ NAME πΈ
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dsptrs.f
(yeah bestie, the name is literally the whole path. iconic. no notes. π)
β¨ SYNOPSIS β¨
Functions/Subroutines π§
subroutine DSPTRS (uplo, n, nrhs, ap, ipiv, b, ldb, info)
DSPTRS
π Function/Subroutine Documentation π
subroutine DSPTRS (character uplo, integer n, integer nrhs, double
precision, dimension( * ) ap, integer, dimension( * ) ipiv, double
precision, dimension( ldb, * ) b, integer ldb, integer info)
DSPTRS
π Purpose π
!>
!> DSPTRS solves a system of linear equations A*X = B with a real
!> symmetric matrix A stored in packed format using the factorization
!> A = U*D*U**T or A = L*D*L**T computed by DSPTRF.
!>
so like, DSPTRS solves A*X = B where A is a real symmetric matrix stored in packed format, using the factorization A = U*D*U**T or A = L*D*L**T that DSPTRF already handed you. it's giving "i already did the hard part, you're welcome" π
β¨
π Parameters π
π UPLO
!> UPLO is CHARACTER*1
!> Specifies whether the details of the factorization are stored
!> as an upper or lower triangular matrix.
!> = 'U': Upper triangular, form is A = U*D*U**T;
!> = 'L': Lower triangular, form is A = L*D*L**T.
!>
UPLOisCHARACTER*1β it tells us whether the factorization deets live in an upper or lower triangular matrix, bestie.= 'U': upper triangular, form isA = U*D*U**T= 'L': lower triangular, form isA = L*D*L**T
π¦ N
!> N is INTEGER
!> The order of the matrix A. N >= 0.
!>
NisINTEGERβ the order of the matrixA, andN >= 0fr fr. (no negative orders, we don't do that here π)
πΈ NRHS
!> NRHS is INTEGER
!> The number of right hand sides, i.e., the number of columns
!> of the matrix B. NRHS >= 0.
!>
NRHSisINTEGERβ how many right hand sides you got, i.e. the number of columns of the matrixB. and yes,NRHS >= 0. π«Ά
π AP
!> AP is DOUBLE PRECISION array, dimension (N*(N+1)/2)
!> The block diagonal matrix D and the multipliers used to
!> obtain the factor U or L as computed by DSPTRF, stored as a
!> packed triangular matrix.
!>
APis aDOUBLE PRECISIONarray, dimension(N*(N+1)/2)β it holds the block diagonal matrixDplus the multipliers used to obtain the factorUorLas computed byDSPTRF, all stored as a packed triangular matrix. packed! lowkey efficient π
π§ IPIV
!> IPIV is INTEGER array, dimension (N)
!> Details of the interchanges and the block structure of D
!> as determined by DSPTRF.
!>
IPIVis anINTEGERarray, dimension(N)β the details of the interchanges and the block structure ofD, as determined byDSPTRF. the receipts, basically. π§Ύβ¨
β B
!> B is DOUBLE PRECISION array, dimension (LDB,NRHS)
!> On entry, the right hand side matrix B.
!> On exit, the solution matrix X.
!>
Bis aDOUBLE PRECISIONarray, dimension(LDB,NRHS).- on entry: the right hand side matrix
Bπ«‘ - on exit: the solution matrix
Xβ glow-up moment, main character energy π
- on entry: the right hand side matrix
π₯ LDB
!> LDB is INTEGER
!> The leading dimension of the array B. LDB >= max(1,N).
!>
LDBisINTEGERβ the leading dimension of the arrayB, and you must haveLDB >= max(1,N). no cap. π₯
π INFO
!> INFO is INTEGER
!> = 0: successful exit
!> < 0: if INFO = -i, the i-th argument had an illegal value
!>
INFOisINTEGER:= 0: successful exit, we ate and left no crumbs π< 0: ifINFO = -i, then the i-th argument had an illegal value π (not me passing a bad argumentβ¦)
π«Ά Author π«Ά
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
(the whole squad showed up. legends only. π)
π¦ Definition at line 114 of file dsptrs.f. π¦
π Author π
Generated automatically by Doxygen for LAPACK from the source code. (yes queen, the robots wrote the docs too π€β¨)
and that's the whole vibe check, bestie π one last cute sign-off: this little masterpiece is LAPACK, Version 3.12.0, living its best life over at /home/abui...RC/dsptrs.f(3). slay, bye! ππ¦π
π¦ 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