hetrs_aa_2stage(3)
π hetrs_aa_2stage(3) β Library Functions Manual π
okay so bestie, welcome to the group chat. this page is literally the hetrs_aa_2stage(3) manual entry from the Library Functions Manual, and it's the whole {he,sy}trs_aa_2stage family β six subroutines that do a triangular solve using factors. grab a snack, we're reading all of it π
β¨ NAME β¨
hetrs_aa_2stage β {he,sy}trs_aa_2stage: triangular solve using factor
no cap, that's the whole vibe. one line, one job, iconic behavior π
πΈ SYNOPSIS πΈ
Functions
subroutine chetrs_aa_2stage (uplo, n, nrhs, a, lda, tb, ltb, ipiv, ipiv2, b, ldb, info)β CHETRS_AA_2STAGEsubroutine csytrs_aa_2stage (uplo, n, nrhs, a, lda, tb, ltb, ipiv, ipiv2, b, ldb, info)β CSYTRS_AA_2STAGEsubroutine dsytrs_aa_2stage (uplo, n, nrhs, a, lda, tb, ltb, ipiv, ipiv2, b, ldb, info)β DSYTRS_AA_2STAGEsubroutine ssytrs_aa_2stage (uplo, n, nrhs, a, lda, tb, ltb, ipiv, ipiv2, b, ldb, info)β SSYTRS_AA_2STAGEsubroutine zhetrs_aa_2stage (uplo, n, nrhs, a, lda, tb, ltb, ipiv, ipiv2, b, ldb, info)β ZHETRS_AA_2STAGEsubroutine zsytrs_aa_2stage (uplo, n, nrhs, a, lda, tb, ltb, ipiv, ipiv2, b, ldb, info)β ZSYTRS_AA_2STAGE
six of them. all the same shape. the prefixes are just the type-check letters β C/Z are complex, S/D are real, HE means hermitian and SY means symmetric. iykyk π§
π¦ Detailed Description π¦
(this is where the page puts the heading, and then just... moves straight on into the functions. love that for us. no filler, periodt.)
π Function Documentation π
π subroutine chetrs_aa_2stage (character uplo, integer n, integer nrhs, complex, dimension( lda, * ) a, integer lda, complex, dimension( * ) tb, integer ltb, integer, dimension( * ) ipiv, integer, dimension( * ) ipiv2, complex, dimension( ldb, * ) b, integer ldb, integer info)
subroutine chetrs_aa_2stage (character uplo, integer n, integer nrhs, &
complex, dimension( lda, * ) a, integer lda, &
complex, dimension( * ) tb, integer ltb, &
integer, dimension( * ) ipiv, integer, dimension( * ) ipiv2, &
complex, dimension( ldb, * ) b, integer ldb, integer info)
π Purpose:
!>!> CHETRS_AA_2STAGE solves a system of linear equations A*X = B with a real!> hermitian matrix A using the factorization A = U**T*T*U or!> A = L*T*L**T computed by CHETRF_AA_2STAGE.!>
(yeah, the page literally says "a real hermitian matrix" for the C routine β not me, that's what's written, we don't edit the docs, we just report them fr fr π)
πΈ Parameters
UPLOβUPLO is CHARACTER*1. tells us how the factorization details are stored β upper or lower triangular. no ambiguity allowed, bestie:= 'U': Upper triangular, form isA = U**T*T*U;= 'L': Lower triangular, form isA = L*T*L**T.
NβN is INTEGER. the order of the matrixA.N >= 0.NRHSβNRHS is INTEGER. the number of right hand sides, i.e. the number of columns of the matrixB.NRHS >= 0.AβA is COMPLEX array, dimension (LDA,N). the details of the factors computed byCHETRF_AA_2STAGE.LDAβLDA is INTEGER. the leading dimension of the arrayA.LDA >= max(1,N).TBβTB is COMPLEX array, dimension (LTB). the details of the factors computed byCHETRF_AA_2STAGE.LTBβLTB is INTEGER. the size of the arrayTB.LTB >= 4*N.IPIVβIPIV is INTEGER array, dimension (N). details of the interchanges as computed byCHETRF_AA_2STAGE.IPIV2βIPIV2 is INTEGER array, dimension (N). details of the interchanges as computed byCHETRF_AA_2STAGE.BβB is COMPLEX array, dimension (LDB,NRHS). on entry, the right hand side matrixB. on exit, the solution matrixX. the glow-up is real β¨LDBβLDB is INTEGER. the leading dimension of the arrayB.LDB >= max(1,N).INFOβINFO is INTEGER.= 0: successful exit π< 0: ifINFO = -i, thei-th argument had an illegal value π
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
β Definition
Definition at line 139 of file chetrs_aa_2stage.f.
π subroutine csytrs_aa_2stage (character uplo, integer n, integer nrhs, complex, dimension( lda, * ) a, integer lda, complex, dimension( * ) tb, integer ltb, integer, dimension( * ) ipiv, integer, dimension( * ) ipiv2, complex, dimension( ldb, * ) b, integer ldb, integer info)
subroutine csytrs_aa_2stage (character uplo, integer n, integer nrhs, &
complex, dimension( lda, * ) a, integer lda, &
complex, dimension( * ) tb, integer ltb, &
integer, dimension( * ) ipiv, integer, dimension( * ) ipiv2, &
complex, dimension( ldb, * ) b, integer ldb, integer info)
π Purpose:
!>!> CSYTRS_AA_2STAGE solves a system of linear equations A*X = B with a complex!> symmetric matrix A using the factorization A = U**T*T*U or!> A = L*T*L**T computed by CSYTRF_AA_2STAGE.!>
πΈ 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 isA = U**T*T*U;= 'L': Lower triangular, form isA = L*T*L**T.
NβN is INTEGER. the order of the matrixA.N >= 0.NRHSβNRHS is INTEGER. the number of right hand sides, i.e. the number of columns of the matrixB.NRHS >= 0.AβA is COMPLEX array, dimension (LDA,N). details of factors computed byCSYTRF_AA_2STAGE.LDAβLDA is INTEGER. the leading dimension of the arrayA.LDA >= max(1,N).TBβTB is COMPLEX array, dimension (LTB). details of factors computed byCSYTRF_AA_2STAGE.LTBβLTB is INTEGER. the size of the arrayTB.LTB >= 4*N.IPIVβIPIV is INTEGER array, dimension (N). details of the interchanges as computed byCSYTRF_AA_2STAGE.IPIV2βIPIV2 is INTEGER array, dimension (N). details of the interchanges as computed byCSYTRF_AA_2STAGE.BβB is COMPLEX array, dimension (LDB,NRHS). on entry, the right hand side matrixB. on exit, the solution matrixX.LDBβLDB is INTEGER. the leading dimension of the arrayB.LDB >= max(1,N).INFOβINFO is INTEGER.= 0: successful exit π< 0: ifINFO = -i, thei-th argument had an illegal value π
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
β Definition
Definition at line 137 of file csytrs_aa_2stage.f.
π subroutine dsytrs_aa_2stage (character uplo, integer n, integer nrhs, double precision, dimension( lda, * ) a, integer lda, double precision, dimension( * ) tb, integer ltb, integer, dimension( * ) ipiv, integer, dimension( * ) ipiv2, double precision, dimension( ldb, * ) b, integer ldb, integer info)
subroutine dsytrs_aa_2stage (character uplo, integer n, integer nrhs, &
double precision, dimension( lda, * ) a, integer lda, &
double precision, dimension( * ) tb, integer ltb, &
integer, dimension( * ) ipiv, integer, dimension( * ) ipiv2, &
double precision, dimension( ldb, * ) b, integer ldb, integer info)
π Purpose:
!>!> DSYTRS_AA_2STAGE solves a system of linear equations A*X = B with a real!> symmetric matrix A using the factorization A = U**T*T*U or!> A = L*T*L**T computed by DSYTRF_AA_2STAGE.!>
πΈ Parameters
UPLOβUPLO is CHARACTER*1. tells you whether the factorization details are stored as upper or lower triangular.= 'U': Upper triangular, form isA = U**T*T*U;= 'L': Lower triangular, form isA = L*T*L**T.
NβN is INTEGER. the order of the matrixA.N >= 0.NRHSβNRHS is INTEGER. the number of right hand sides, i.e. the number of columns of the matrixB.NRHS >= 0.AβA is DOUBLE PRECISION array, dimension (LDA,N). details of factors computed byDSYTRF_AA_2STAGE.LDAβLDA is INTEGER. the leading dimension of the arrayA.LDA >= max(1,N).TBβTB is DOUBLE PRECISION array, dimension (LTB). details of factors computed byDSYTRF_AA_2STAGE.LTBβLTB is INTEGER. the size of the arrayTB.LTB >= 4*N.IPIVβIPIV is INTEGER array, dimension (N). details of the interchanges as computed byDSYTRF_AA_2STAGE.IPIV2βIPIV2 is INTEGER array, dimension (N). details of the interchanges as computed byDSYTRF_AA_2STAGE.BβB is DOUBLE PRECISION array, dimension (LDB,NRHS). on entry, the right hand side matrixB. on exit, the solution matrixX.LDBβLDB is INTEGER. the leading dimension of the arrayB.LDB >= max(1,N).INFOβINFO is INTEGER.= 0: successful exit π< 0: ifINFO = -i, thei-th argument had an illegal value π
π«Ά Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
β Definition
Definition at line 137 of file dsytrs_aa_2stage.f.
π subroutine ssytrs_aa_2stage (character uplo, integer n, integer nrhs, real, dimension( lda, * ) a, integer lda, real, dimension( * ) tb, integer ltb, integer, dimension( * ) ipiv, integer, dimension( * ) ipiv2, real, dimension( ldb, * ) b, integer ldb, integer info)
subroutine ssytrs_aa_2stage (character uplo, integer n, integer nrhs, &
real, dimension( lda, * ) a, integer lda, &
real, dimension( * ) tb, integer ltb, &
integer, dimension( * ) ipiv, integer, dimension( * ) ipiv2, &
real, dimension( ldb, * ) b, integer ldb, integer info)
π Purpose:
!>!> SSYTRS_AA_2STAGE solves a system of linear equations A*X = B with a real!> symmetric matrix A using the factorization A = U**T*T*U or!> A = L*T*L**T computed by SSYTRF_AA_2STAGE.!>
πΈ 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 isA = U**T*T*U;= 'L': Lower triangular, form isA = L*T*L**T.
NβN is INTEGER. the order of the matrixA.N >= 0.NRHSβNRHS is INTEGER. the number of right hand sides, i.e. the number of columns of the matrixB.NRHS >= 0.AβA is REAL array, dimension (LDA,N). details of factors computed bySSYTRF_AA_2STAGE.LDAβLDA is INTEGER. the leading dimension of the arrayA.LDA >= max(1,N).TB
π¦ and that's exactly where this half of the page runs out βTBjust vibing there with no description yet. the rest ofSSYTRS_AA_2STAGE(and theZroutines) are living their best life in part 2, so don't go anywhere π
okay bestie, weβre still mid-parameter-list for ssytrs_aa_2stage β no need to re-intro the whole function, weβre just picking up at TB like itβs the next text in the group chat. π¬
TBβTBis aREALarray, dimension(LTB). Itβs holding the details of factors computed bySSYTRF_AA_2STAGE. factorization receipts, basically.LTBβLTBisINTEGER. Itβs the size of the arrayTB. Must beLTB >= 4*N. respect the minimum, bestie.IPIVβIPIVis anINTEGERarray, dimension(N). Details of the interchanges as computed bySSYTRF_AA_2STAGE. the plot twists.IPIV2βIPIV2is anINTEGERarray, dimension(N). Details of the interchanges as computed bySSYTRF_AA_2STAGE. more plot twists, second volume.BβBis aREALarray, dimension(LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX. glow-up arc: RHS in, answers out.LDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N). do not fumble this one.INFOβINFOisINTEGER.= 0: successful exit< 0: if INFO = -i, the i-th argument had an illegal value
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition: at line 137 of file ssytrs_aa_2stage.f.
π subroutine zhetrs_aa_2stage (a.k.a. ZHETRS_AA_2STAGE) β hermitian era
subroutine zhetrs_aa_2stage (character uplo, integer n, integer nrhs,
complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension( *
) tb, integer ltb, integer, dimension( * ) ipiv, integer, dimension( * )
ipiv2, complex*16, dimension( ldb, * ) b, integer ldb, integer info)
ZHETRS_AA_2STAGE
β¨ Purpose
ZHETRS_AA_2STAGE solves a system of linear equations A*X = B with a hermitian matrix A using the factorization A = U**H*T*U or A = L*T*L**H computed by ZHETRF_AA_2STAGE. hermitian girlies, this is your moment. β¨
πΈ Parameters
UPLOβUPLOisCHARACTER*1. Specifies whether the details of the factorization are stored as an upper or lower triangular matrix.= 'U': Upper triangular, form is A = U**H*T*U;= 'L': Lower triangular, form is A = L*T*L**H.
NβNisINTEGER. The order of the matrixA.N >= 0. zero is valid, sheβs just tiny.NRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.AβAis aCOMPLEX*16array, dimension(LDA,N). Details of factors computed byZHETRF_AA_2STAGE. the main character array.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).TBβTBis aCOMPLEX*16array, dimension(LTB). Details of factors computed byZHETRF_AA_2STAGE.LTBβLTBisINTEGER. The size of the arrayTB.LTB >= 4*N.IPIVβIPIVis anINTEGERarray, dimension(N). Details of the interchanges as computed byZHETRF_AA_2STAGE.IPIV2βIPIV2is anINTEGERarray, dimension(N). Details of the interchanges as computed byZHETRF_AA_2STAGE.BβBis aCOMPLEX*16array, dimension(LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX. same array, new destiny.LDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOβINFOisINTEGER.= 0: successful exit< 0: if INFO = -i, the i-th argument had an illegal value
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition: at line 139 of file zhetrs_aa_2stage.f.
π subroutine zsytrs_aa_2stage (a.k.a. ZSYTRS_AA_2STAGE) β complex symmetric bestie
subroutine zsytrs_aa_2stage (character uplo, integer n, integer nrhs,
complex*16, dimension( lda, * ) a, integer lda, complex*16, dimension( *
) tb, integer ltb, integer, dimension( * ) ipiv, integer, dimension( * )
ipiv2, complex*16, dimension( ldb, * ) b, integer ldb, integer info)
ZSYTRS_AA_2STAGE
β¨ Purpose
ZSYTRS_AA_2STAGE solves a system of linear equations A*X = B with a complex symmetric matrix A using the factorization A = U**T*T*U or A = L*T*L**T computed by ZSYTRF_AA_2STAGE. transpose energy, but make it complex. π
πΈ Parameters
UPLOβUPLOisCHARACTER*1. Specifies whether the details of the factorization are stored as an upper or lower triangular matrix.= 'U': Upper triangular, form is A = U**T*T*U;= 'L': Lower triangular, form is A = L*T*L**T.
NβNisINTEGER. The order of the matrixA.N >= 0.NRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.AβAis aCOMPLEX*16array, dimension(LDA,N). Details of factors computed byZSYTRF_AA_2STAGE.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).TBβTBis aCOMPLEX*16array, dimension(LTB). Details of factors computed byZSYTRF_AA_2STAGE.LTBβLTBisINTEGER. The size of the arrayTB.LTB >= 4*N.IPIVβIPIVis anINTEGERarray, dimension(N). Details of the interchanges as computed byZSYTRF_AA_2STAGE.IPIV2βIPIV2is anINTEGERarray, dimension(N). Details of the interchanges as computed byZSYTRF_AA_2STAGE.BβBis aCOMPLEX*16array, dimension(LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX. RHS walks in, solution walks out.LDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).INFOβINFOisINTEGER.= 0: successful exit< 0: if INFO = -i, the i-th argument had an illegal value
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition: at line 137 of file zsytrs_aa_2stage.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
sign-off time, bestie: this whole page is serving LAPACK Version 3.12.0, and the page name is hetrs_aa_2stage(3) β date vibes are whatever Doxygen stamped, but the source/version flex is right there. mwah. πβ¨
π¦ 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