SRC/dsysv_aa_2stage.f(3)
Hey bestie π this is the SRC/dsysv_aa_2stage.f(3) page from the Library Functions Manual. Buckle up, we're doing symmetric linear systems with Aasen's 2-stage algorithm and it's lowkey iconic. β¨
β¨ NAME β¨
SRC/dsysv_aa_2stage.f β the file, periodt. π
π¦ SYNOPSIS π¦
π§ Functions/Subroutines π§
subroutine dsysv_aa_2stage (uplo, n, nrhs, a, lda, tb, ltb, ipiv, ipiv2,
b, ldb, work, lwork, info)
DSYSV_AA_2STAGE computes the solution to system of linear equations
A * X = B for SY matrices
π Function/Subroutine Documentation π
subroutine dsysv_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, double precision, dimension( * ) work, integer lwork, integer info)
DSYSV_AA_2STAGE computes the solution to system of linear equations A * X = B for SY matrices. Main character energy fr fr. π
π Purpose π
Okay so bestie, here's the tea: DSYSV_AA_2STAGE computes the solution to a real system of linear equations
A * X = B,
where A is an N-by-N symmetric matrix and X and B are N-by-NRHS matrices. Obsessed. β¨
Aasen's 2-stage algorithm is used to factor A as
A = U**T * T * U, if UPLO = 'U', or
A = L * T * L**T, if UPLO = 'L',
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and T is symmetric and band. The matrix T is then LU-factored with partial pivoting. The factored form of A is then used to solve the system of equations A * X = B. π«Ά
This is the blocked version of the algorithm, calling Level 3 BLAS. Yes ma'am. π₯
π Parameters π
UPLOβUPLOisCHARACTER*1. Values are:= 'U':upper triangle ofAis stored;= 'L':lower triangle ofAis stored.
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βAisDOUBLE PRECISIONarray, dimension(LDA,N). On entry, the symmetric matrixA. IfUPLO = 'U', the leadingN-by-Nupper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leadingN-by-Nlower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. On exit,Lis stored below (or above) the subdiagonal blocks, whenUPLOis'L'(or'U'). πLDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).TBβTBisDOUBLE PRECISIONarray, dimension(MAX(1,LTB)). On exit, details of the LU factorization of the band matrix.LTBβLTBisINTEGER. The size of the arrayTB.LTB >= MAX(1,4*N), internally used to selectNBsuch thatLTB >= (3*NB+1)*N. IfLTB = -1, then a workspace query is assumed; the routine only calculates the optimal size ofLTB, returns this value as the first entry ofTB, and no error message related toLTBis issued byXERBLA.IPIVβIPIVisINTEGERarray, dimension(N). On exit, it contains the details of the interchanges, i.e., the row and columnkofAwere interchanged with the row and columnIPIV(k).IPIV2βIPIV2isINTEGERarray, dimension(N). On exit, it contains the details of the interchanges, i.e., the row and columnkofTwere interchanged with the row and columnIPIV(k).BβBisDOUBLE PRECISIONarray, dimension(LDB,NRHS). On entry, the right hand side matrixB. On exit, the solution matrixX.LDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).WORKβWORKisDOUBLE PRECISIONworkspace of size(MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKβLWORKisINTEGER. The size ofWORK.LWORK >= MAX(1,N), internally used to selectNBsuch thatLWORK >= N*NB. IfLWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA.INFOβINFOisINTEGER. Values are:= 0:successful exit< 0:ifINFO = -i, thei-th argument had an illegal value.> 0:ifINFO = i, band LU factorization failed oni-th column.
πΈ Author πΈ
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 186 of file dsysv_aa_2stage.f. π―
π Author π
Generated automatically by Doxygen for LAPACK from the source code. π€
Byeee bestie! This iconic page is from LAPACK Version 3.12.0, source SRC/dsysv_aa_2stage.f(3). Stay slaying those symmetric systems π
β¨
π¦ 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