hesv(3)
okay so welcome to hesv(3) from the Library Functions Manual โ this is the bestie-coded page for hesv - {he,sy}sv: rook (v1) ๐
. Itโs giving linear algebra but make it group chat. No cap, weโre keeping every deet.
๐ NAME ๐
hesv โ {he,sy}sv: rook (v1) โจ
โจ SYNOPSIS โจ
๐ธ Functions ๐ธ
subroutine chesv (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)โCHESVcomputes the solution to system of linear equationsA * X = Bfor HE matrices ๐subroutine csysv (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)โCSYSVcomputes the solution to system of linear equationsA * X = Bfor SY matrices โจsubroutine dsysv (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)โDSYSVcomputes the solution to system of linear equationsA * X = Bfor SY matrices ๐ฆsubroutine ssysv (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)โSSYSVcomputes the solution to system of linear equationsA * X = Bfor SY matrices ๐ธsubroutine zhesv (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)โZHESVcomputes the solution to system of linear equationsA * X = Bfor HE matrices ๐ฅsubroutine zsysv (uplo, n, nrhs, a, lda, ipiv, b, ldb, work, lwork, info)โZSYSVcomputes the solution to system of linear equationsA * X = Bfor SY matrices ๐
๐ Detailed Description ๐
(the original leaves this section literally empty โ no deets, no drama, just vibes)
๐ฅ Function Documentation ๐ฅ
๐งฎ chesv โ Hermitian bestie ๐งฎ
subroutine chesv (character uplo, integer n, integer nrhs, complex,
dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
complex, dimension( ldb, * ) b, integer ldb, complex, dimension( * )
work, integer lwork, integer info)
CHESV computes the solution to system of linear equations A * X = B for HE matrices. ๐ซถ
๐ฏ Purpose ๐ฏ
okay so CHESV solves a complex system of linear equations:
A * X = B
where A is an N-by-N Hermitian matrix, and X and B are N-by-NRHS matrices.
It uses the diagonal pivoting method to factor A as:
A = U * D * U**H, if UPLO = 'U', or
A = L * D * L**H, if UPLO = 'L',
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and D is Hermitian and block diagonal with 1-by-1 and 2-by-2 diagonal blocks. Then the factored form of A is used to solve the system of equations A * X = B. โจ
๐ Parameters ๐
UPLOโUPLOisCHARACTER*1.= 'U':Upper triangle ofAis stored;= 'L':Lower triangle ofAis stored.NโNisINTEGER. The number of linear equations, i.e., 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โAisCOMPLEX array, dimension (LDA,N). On entry, the Hermitian 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, ifINFO = 0, the block diagonal matrixDand the multipliers used to obtain the factorUorLfrom the factorizationA = U*D*U**HorA = L*D*L**Has computed byCHETRF. ๐LDAโLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVโIPIVisINTEGER array, dimension (N). Details of the interchanges and the block structure ofD, as determined byCHETRF. IfIPIV(k) > 0, then rows and columnskandIPIV(k)were interchanged, andD(k,k)is a1-by-1diagonal block. IfUPLO = 'U'andIPIV(k) = IPIV(k-1) < 0, then rows and columnsk-1and-IPIV(k)were interchanged andD(k-1:k,k-1:k)is a2-by-2diagonal block. IfUPLO = 'L'andIPIV(k) = IPIV(k+1) < 0, then rows and columnsk+1and-IPIV(k)were interchanged andD(k:k+1,k:k+1)is a2-by-2diagonal block. ๐ฅBโBisCOMPLEX array, dimension (LDB,NRHS). On entry, theN-by-NRHSright hand side matrixB. On exit, ifINFO = 0, theN-by-NRHSsolution matrixX. ๐ฆLDBโLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).WORKโWORKisCOMPLEX array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. ๐LWORKโLWORKisINTEGER. The length ofWORK.LWORK >= 1, and for best performanceLWORK >= max(1,N*NB), whereNBis the optimal blocksize forCHETRF.for LWORK < N, TRS will be done with Level BLAS 2;for LWORK >= N, TRS will be done with Level BLAS 3. 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.= 0:successful exit;< 0:ifINFO = -i, thei-th argument had an illegal value;> 0:ifINFO = i,D(i,i)is exactly zero. The factorization has been completed, but the block diagonal matrixDis exactly singular, so the solution could not be computed. ๐
๐ Author ๐
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 169 of file chesv.f.
๐ง csysv โ symmetric slay ๐ง
subroutine csysv (character uplo, integer n, integer nrhs, complex,
dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
complex, dimension( ldb, * ) b, integer ldb, complex, dimension( * )
work, integer lwork, integer info)
CSYSV computes the solution to system of linear equations A * X = B for SY matrices. ๐ซถ
๐ฏ Purpose ๐ฏ
CSYSV solves a complex 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.
It uses the diagonal pivoting method to factor A as:
A = U * D * U**T, if UPLO = 'U', or
A = L * D * L**T, if UPLO = 'L',
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and D is symmetric and block diagonal with 1-by-1 and 2-by-2 diagonal blocks. The factored form of A is then used to solve the system of equations A * X = B. โจ
๐ Parameters ๐
UPLOโUPLOisCHARACTER*1.= 'U':Upper triangle ofAis stored;= 'L':Lower triangle ofAis stored.NโNisINTEGER. The number of linear equations, i.e., 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โAisCOMPLEX array, 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, ifINFO = 0, the block diagonal matrixDand the multipliers used to obtain the factorUorLfrom the factorizationA = U*D*U**TorA = L*D*L**Tas computed byCSYTRF. ๐LDAโLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVโIPIVisINTEGER array, dimension (N). Details of the interchanges and the block structure ofD, as determined byCSYTRF. IfIPIV(k) > 0, then rows and columnskandIPIV(k)were interchanged, andD(k,k)is a1-by-1diagonal block. IfUPLO = 'U'andIPIV(k) = IPIV(k-1) < 0, then rows and columnsk-1and-IPIV(k)were interchanged andD(k-1:k,k-1:k)is a2-by-2diagonal block. IfUPLO = 'L'andIPIV(k) = IPIV(k+1) < 0, then rows and columnsk+1and-IPIV(k)were interchanged andD(k:k+1,k:k+1)is a2-by-2diagonal block. ๐ฅBโBisCOMPLEX array, dimension (LDB,NRHS). On entry, theN-by-NRHSright hand side matrixB. On exit, ifINFO = 0, theN-by-NRHSsolution matrixX. ๐ฆLDBโLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N).WORKโWORKisCOMPLEX array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. ๐LWORKโLWORKisINTEGER. The length ofWORK.LWORK >= 1, and for best performanceLWORK >= max(1,N*NB), whereNBis the optimal blocksize forCSYTRF.for LWORK < N, TRS will be done with Level BLAS 2;for LWORK >= N, TRS will be done with Level BLAS 3. 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. (the source part 1 cuts off right here โ part 2 has the rest of theINFOdeets, bestie!)INFOโINFO is INTEGER, the receipts on how it all went ๐= 0: successful exit โ we ate and left no crumbs โจ< 0: ifINFO = -i, the i-th argument had an illegal value (so likeโฆ you passed me something cursed ๐)> 0: ifINFO = i,D(i,i)is exactly zero. The factorization has been completed, but the block diagonal matrixDis exactly singular, so the solution could not be computed. bestie, it's giving dead end ๐ญ
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 169 of file csysv.f.
๐ฆ subroutine dsysv ๐
subroutine dsysv (character uplo, integer n, integer nrhs, double precision, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, double precision, dimension( ldb, * ) b, integer ldb, double precision, dimension( * ) work, integer lwork, integer info)
DSYSV computes the solution to system of linear equations A * X = B for SY matrices โ that's the whole vibe, honestly ๐
Purpose:
okay so, DSYSV 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. no cap, that's it ๐ธ
The diagonal pivoting method is used to factor A as
A = U * D * U**T, if UPLO = 'U', or
A = L * D * L**T, if UPLO = 'L',
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and D is symmetric and block diagonal with 1-by-1 and 2-by-2 diagonal blocks. The factored form of A is then used to solve the system of equations A * X = B. literally factorize then solve, iconic behaviour ๐ซถ
Parameters
UPLOโUPLO is CHARACTER*1, aka which triangle are we even talking about ๐= 'U': Upper triangle ofAis stored= 'L': Lower triangle ofAis stored
NโN is INTEGERThe number of linear equations, i.e., the order of the matrixA.N >= 0. (zero is allowed bestie, it's a valid vibe)NRHSโNRHS is INTEGERThe 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)๐ On entry, the symmetric matrixA. IfUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leading N-by-N lower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced. (translation: we read one triangle and ghost the other one entirely ๐)
On exit, if INFO = 0, the block diagonal matrix D and the multipliers used to obtain the factor U or L from the factorization A = U*D*U**T or A = L*D*L**T as computed by DSYTRF. she's a whole new matrix now โจ
LDAโLDA is INTEGERThe leading dimension of the arrayA.LDA >= max(1,N). respect the boundary fr frIPIVโIPIV is INTEGER array, dimension (N)๐ Details of the interchanges and the block structure ofD, as determined byDSYTRF. IfIPIV(k) > 0, then rows and columnskandIPIV(k)were interchanged, andD(k,k)is a 1-by-1 diagonal block. IfUPLO = 'U'andIPIV(k) = IPIV(k-1) < 0, then rows and columnsk-1and-IPIV(k)were interchanged andD(k-1:k,k-1:k)is a 2-by-2 diagonal block. IfUPLO = 'L'andIPIV(k) = IPIV(k+1) < 0, then rows and columnsk+1and-IPIV(k)were interchanged andD(k:k+1,k:k+1)is a 2-by-2 diagonal block. negative means 2-by-2 block, that's the whole tell ๐BโB is DOUBLE PRECISION array, dimension (LDB,NRHS)On entry, the N-by-NRHS right hand side matrixB. On exit, ifINFO = 0, the N-by-NRHS solution matrixX. she literally transforms in place, main character energy ๐LDBโLDB is INTEGERThe leading dimension of the arrayB.LDB >= max(1,N).WORKโWORK is DOUBLE PRECISION array, dimension (MAX(1,LWORK))On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. (yes, it puts the answer in slot one, sneaky but cute ๐ง)LWORKโLWORK is INTEGERThe length ofWORK.LWORK >= 1, and for best performanceLWORK >= max(1,N*NB), whereNBis the optimal blocksize forDSYTRF.
for LWORK < N, TRS will be done with Level BLAS 2 for LWORK >= N, TRS will be done with Level BLAS 3
If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA. lowkey my fave hack โ ask for the size before you commit, that's just good boundaries ๐ฅ
INFOโINFO is INTEGER= 0: successful exit โจ< 0: ifINFO = -i, the i-th argument had an illegal value> 0: ifINFO = i,D(i,i)is exactly zero. The factorization has been completed, but the block diagonal matrixDis exactly singular, so the solution could not be computed. likeโฆ the math said no ๐ญ
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 169 of file dsysv.f.
๐ subroutine ssysv ๐
subroutine ssysv (character uplo, integer n, integer nrhs, real, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, real, dimension( ldb, * ) b, integer ldb, real, dimension( * ) work, integer lwork, integer info)
SSYSV computes the solution to system of linear equations A * X = B for SY matrices โ same plot as dsysv but she's single precision, we love a sibling ๐
Purpose:
SSYSV 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. ๐ฆ
The diagonal pivoting method is used to factor A as
A = U * D * U**T, if UPLO = 'U', or
A = L * D * L**T, if UPLO = 'L',
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and D is symmetric and block diagonal with 1-by-1 and 2-by-2 diagonal blocks. The factored form of A is then used to solve the system of equations A * X = B. same recipe, different dtype, periodt ๐ซถ
Parameters
UPLOโUPLO is CHARACTER*1= 'U': Upper triangle ofAis stored= 'L': Lower triangle ofAis stored
NโN is INTEGERThe number of linear equations, i.e., the order of the matrixA.N >= 0.NRHSโNRHS is INTEGERThe number of right hand sides, i.e., the number of columns of the matrixB.NRHS >= 0.AโA is REAL array, dimension (LDA,N)๐ธ On entry, the symmetric matrixA. IfUPLO = 'U', the leading N-by-N upper triangular part ofAcontains the upper triangular part of the matrixA, and the strictly lower triangular part ofAis not referenced. IfUPLO = 'L', the leading N-by-N lower triangular part ofAcontains the lower triangular part of the matrixA, and the strictly upper triangular part ofAis not referenced.
On exit, if INFO = 0, the block diagonal matrix D and the multipliers used to obtain the factor U or L from the factorization A = U*D*U**T or A = L*D*L**T as computed by SSYTRF. ๐
LDAโLDA is INTEGERThe leading dimension of the arrayA.LDA >= max(1,N).IPIVโIPIV is INTEGER array, dimension (N)๐ Details of the interchanges and the block structure ofD, as determined bySSYTRF. IfIPIV(k) > 0, then rows and columnskandIPIV(k)were interchanged, andD(k,k)is a 1-by-1 diagonal block. IfUPLO = 'U'andIPIV(k) = IPIV(k-1) < 0, then rows and columnsk-1and-IPIV(k)were interchanged andD(k-1:k,k-1:k)is a 2-by-2 diagonal block. IfUPLO = 'L'andIPIV(k) = IPIV(k+1) < 0, then rows and columnsk+1and-IPIV(k)were interchanged andD(k:k+1,k:k+1)is a 2-by-2 diagonal block. iykyk ๐คซBโB is REAL array, dimension (LDB,NRHS)On entry, the N-by-NRHS right hand side matrixB. On exit, ifINFO = 0, the N-by-NRHS solution matrixX. the glow-up is real ๐LDBโLDB is INTEGERThe leading dimension of the arrayB.LDB >= max(1,N).WORKโWORK is REAL array, dimension (MAX(1,LWORK))On exit, ifINFO = 0,WORK(1)returns the optimalLWORK. ๐งLWORKโLWORK is INTEGERThe length ofWORK.LWORK >= 1, and for best performanceLWORK >= max(1,N*NB), whereNBis the optimal blocksize forSSYTRF.
for LWORK < N, TRS will be done with Level BLAS 2 for LWORK >= N, TRS will be done with Level BLAS 3
If LWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued by XERBLA. ๐
INFOโINFO is INTEGER= 0: successful exit ๐< 0: ifINFO = -i, the i-th argument had an illegal value> 0: ifINFO = i,D(i,i)is exactly zero. The factorization has been completed, but the block diagonal matrixDis exactly singular, so the solution could not be computed. ๐ญ
Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 169 of file ssysv.f.
subroutine zhesv
subroutine zhesv (character uplo, integer n, integer nrhs, complex*16,
dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
complex*16, dimension( ldb, * ) b, integer ldb, complex*16, dimension( *
) work, integer lwork, integer info)
ZHESV computes the solution to system of linear equations A * X = B for HE matrices
๐ฏ Purpose
Okay so ZHESV is here to solve a complex system of linear equations like:
A * X = B,
where A is an N-by-N Hermitian matrix and X and B are N-by-NRHS matrices.
It uses the diagonal pivoting method to factor A as:
A = U * D * U**H, if UPLO = 'U', or
A = L * D * L**H, if UPLO = 'L',
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and D is Hermitian and block diagonal with 1-by-1 and 2-by-2 diagonal blocks. Then it uses that factored form to solve the system of equations A * X = B. Slay.
๐ Parameters
UPLOโCHARACTER*1. It's literally telling you which triangle of A is stored:'U'means the upper triangle of A is stored;'L'means the lower triangle of A is stored.NโINTEGER. The number of linear equations, i.e., the order of the matrix A.N >= 0.NRHSโINTEGER. The number of right hand sides, i.e., the number of columns of the matrix B.NRHS >= 0.AโCOMPLEX*16 array, dimension (LDA,N). On entry, the Hermitian matrix A. IfUPLO = 'U', the leading N-by-N upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. IfUPLO = 'L', the leading N-by-N lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, ifINFO = 0, the block diagonal matrix D and the multipliers used to obtain the factor U or L from the factorizationA = U*D*U**HorA = L*D*L**Has computed byZHETRF.LDAโINTEGER. The leading dimension of the array A.LDA >= max(1,N).IPIVโINTEGER array, dimension (N). Details of the interchanges and the block structure of D, as determined byZHETRF. IfIPIV(k) > 0, then rows and columns k andIPIV(k)were interchanged, andD(k,k)is a 1-by-1 diagonal block. IfUPLO = 'U'andIPIV(k) = IPIV(k-1) < 0, then rows and columns k-1 and-IPIV(k)were interchanged andD(k-1:k,k-1:k)is a 2-by-2 diagonal block. IfUPLO = 'L'andIPIV(k) = IPIV(k+1) < 0, then rows and columns k+1 and-IPIV(k)were interchanged andD(k:k+1,k:k+1)is a 2-by-2 diagonal block.BโCOMPLEX*16 array, dimension (LDB,NRHS). On entry, the N-by-NRHS right hand side matrix B. On exit, ifINFO = 0, the N-by-NRHS solution matrix X.LDBโINTEGER. The leading dimension of the array B.LDB >= max(1,N).WORKโCOMPLEX*16 array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKโINTEGER. The length of WORK.LWORK >= 1, and for best performanceLWORK >= max(1,N*NB), where NB is the optimal blocksize forZHETRF. ForLWORK < N, TRS will be done with Level BLAS 2; forLWORK >= N, TRS will be done with Level BLAS 3. IfLWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued byXERBLA.INFOโINTEGER. Exit status:= 0: successful exit;< 0: ifINFO = -i, the i-th argument had an illegal value;> 0: ifINFO = i,D(i,i)is exactly zero. The factorization has been completed, but the block diagonal matrix D is exactly singular, so the solution could not be computed.
๐ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 169 of file zhesv.f.
subroutine zsysv
subroutine zsysv (character uplo, integer n, integer nrhs, complex*16,
dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv,
complex*16, dimension( ldb, * ) b, integer ldb, complex*16, dimension( *
) work, integer lwork, integer info)
ZSYSV computes the solution to system of linear equations A * X = B for SY matrices
๐ฏ Purpose
Okay so ZSYSV is here to solve a complex system of linear equations like:
A * X = B,
where A is an N-by-N symmetric matrix and X and B are N-by-NRHS matrices.
It uses the diagonal pivoting method to factor A as:
A = U * D * U**T, if UPLO = 'U', or
A = L * D * L**T, if UPLO = 'L',
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and D is symmetric and block diagonal with 1-by-1 and 2-by-2 diagonal blocks. Then it uses that factored form to solve the system of equations A * X = B. Periodt.
๐ Parameters
UPLOโCHARACTER*1. It's literally telling you which triangle of A is stored:'U'means the upper triangle of A is stored;'L'means the lower triangle of A is stored.NโINTEGER. The number of linear equations, i.e., the order of the matrix A.N >= 0.NRHSโINTEGER. The number of right hand sides, i.e., the number of columns of the matrix B.NRHS >= 0.AโCOMPLEX*16 array, dimension (LDA,N). On entry, the symmetric matrix A. IfUPLO = 'U', the leading N-by-N upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. IfUPLO = 'L', the leading N-by-N lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, ifINFO = 0, the block diagonal matrix D and the multipliers used to obtain the factor U or L from the factorizationA = U*D*U**TorA = L*D*L**Tas computed byZSYTRF.LDAโINTEGER. The leading dimension of the array A.LDA >= max(1,N).IPIVโINTEGER array, dimension (N). Details of the interchanges and the block structure of D, as determined byZSYTRF. IfIPIV(k) > 0, then rows and columns k andIPIV(k)were interchanged, andD(k,k)is a 1-by-1 diagonal block. IfUPLO = 'U'andIPIV(k) = IPIV(k-1) < 0, then rows and columns k-1 and-IPIV(k)were interchanged andD(k-1:k,k-1:k)is a 2-by-2 diagonal block. IfUPLO = 'L'andIPIV(k) = IPIV(k+1) < 0, then rows and columns k+1 and-IPIV(k)were interchanged andD(k:k+1,k:k+1)is a 2-by-2 diagonal block.BโCOMPLEX*16 array, dimension (LDB,NRHS). On entry, the N-by-NRHS right hand side matrix B. On exit, ifINFO = 0, the N-by-NRHS solution matrix X.LDBโINTEGER. The leading dimension of the array B.LDB >= max(1,N).WORKโCOMPLEX*16 array, dimension (MAX(1,LWORK)). On exit, ifINFO = 0,WORK(1)returns the optimalLWORK.LWORKโINTEGER. The length of WORK.LWORK >= 1, and for best performanceLWORK >= max(1,N*NB), where NB is the optimal blocksize forZSYTRF. ForLWORK < N, TRS will be done with Level BLAS 2; forLWORK >= N, TRS will be done with Level BLAS 3. IfLWORK = -1, then a workspace query is assumed; the routine only calculates the optimal size of the WORK array, returns this value as the first entry of the WORK array, and no error message related to LWORK is issued byXERBLA.INFOโINTEGER. Exit status:= 0: successful exit;< 0: ifINFO = -i, the i-th argument had an illegal value;> 0: ifINFO = i,D(i,i)is exactly zero. The factorization has been completed, but the block diagonal matrix D is exactly singular, so the solution could not be computed.
๐ Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 169 of file zsysv.f.
๐ Author
Generated automatically by Doxygen for LAPACK from the source code.
๐ And that's the tea! This page is from LAPACK Version 3.12.0, and it's the hesv(3) page. Stay sliving, bestie! ๐
โจ
๐ฆ 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