TESTING/LIN/zlavhp.f(3)
π TESTING/LIN/zlavhp.f π
okay so bestie, welcome to TESTING/LIN/zlavhp.f(3) β yes that's her full name, she lives in the LAPACK TESTING/LIN folder and she's a manual page for a Fortran subroutine. buckle up π
β¨ SYNOPSIS β¨
πΈ Functions/Subroutines
subroutine zlavhp (uplo, trans, diag, n, nrhs, a, ipiv, b, ldb, info)β literally ZLAVHP, the girl herself π
π¦ Function/Subroutine Documentation π¦
subroutine zlavhp (character uplo, character trans, character diag, integer
n, integer nrhs, complex*16, dimension( * ) a, integer, dimension( * )
ipiv, complex*16, dimension( ldb, * ) b, integer ldb, integer info)
ZLAVHP β say it with me, this is the whole vibe of the page π
π Purpose:
ok so picture this:
ZLAVHP performs one of the matrix-vector operations
x := A*x or x := A^H*x,
where x is an N element vector and A is one of the factors from the symmetric factorization computed by ZHPTRF. π«Ά
ZHPTRF produces a factorization of the form
U * D * U^H or L * D * L^H,
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, U^H (or L^H) is the conjugate transpose of U (or L), and D is Hermitian and block diagonal with 1 x 1 and 2 x 2 diagonal blocks. The multipliers for the transformations and the upper or lower triangular parts of the diagonal blocks are stored columnwise in packed format in the linear array A. π§
- If
TRANS = 'N'or'n',ZLAVHPmultiplies either byUorU * D(orLorL * D). - If
TRANS = 'C'or'c',ZLAVHPmultiplies either byU^HorD * U^H(orL^HorD * L^H).
π THE ARGUMENTS (a.k.a. the whole cast) π
UPLOβCHARACTER*1
On entry, UPLO specifies whether the triangular matrix stored in A is upper or lower triangular:
UPLO = 'U'or'u'β the matrix is upper triangular.UPLO = 'L'or'l'β the matrix is lower triangular.
Unchanged on exit. β¨
TRANSβCHARACTER*1
On entry, TRANS specifies the operation to be performed, as follows:
TRANS = 'N'or'n'βx := A*x.TRANS = 'C'or'c'βx := A^H*x.
Unchanged on exit. π«
DIAGβCHARACTER*1
On entry, DIAG specifies whether the diagonal blocks are assumed to be unit matrices, as follows:
DIAG = 'U'or'u'β diagonal blocks are unit matrices.DIAG = 'N'or'n'β diagonal blocks are non-unit.
Unchanged on exit. π
NβINTEGER
On entry, N specifies the order of the matrix A. N must be at least zero. (zero is allowed, she's not picky, but negative? absolutely not π)
Unchanged on exit.
NRHSβINTEGER
On entry, NRHS specifies the number of right hand sides, i.e., the number of vectors x to be multiplied by A. NRHS must be at least zero.
Unchanged on exit. πΈ
AβCOMPLEX*16 array, dimension( N*(N+1)/2 )
On entry, A contains a block diagonal matrix and the multipliers of the transformations used to obtain it, stored as a packed triangular matrix.
Unchanged on exit. (yes, she reads it and leaves it exactly how she found it, respectful icon π )
IPIVβINTEGER array, dimension( N )
On entry, IPIV contains the vector of pivot indices as determined by ZSPTRF or ZHPTRF. Here's the tea β:
- If
IPIV( K ) = K, no interchange was done. - If
IPIV( K ) <> KbutIPIV( K ) > 0, then rowKwas interchanged with rowIPIV( K )and a1 x 1pivot block was used. - If
IPIV( K ) < 0andUPLO = 'U', then rowK-1was exchanged with row| IPIV( K ) |and a2 x 2pivot block was used. - If
IPIV( K ) < 0andUPLO = 'L', then rowK+1was exchanged with row| IPIV( K ) |and a2 x 2pivot block was used.
BβCOMPLEX*16 array, dimension( LDB, NRHS )
On entry, B contains NRHS vectors of length N. On exit, B is overwritten with the product A * B. π₯ (she said bye to your original B, no cap)
LDBβINTEGER
On entry, LDB contains the leading dimension of B as declared in the calling program. LDB must be at least max( 1, N ).
Unchanged on exit. β
INFOβINTEGER
INFO is the error flag. π©
- On exit, a value of
0indicates a successful exit. - A negative value, say
-K, indicates that theK-th argument has an illegal value.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 129 of file zlavhp.f. π
π Author (yes, again, the footer one)
Generated automatically by Doxygen for LAPACK from the source code. not a human writing this one, it's giving robot energy π€β¨
and that's the whole page bestie, we ate and left no crumbs π
LAPACK β Version 3.12.0 β TESTING/LIN/zlavhp.f(3) π¦ mwah, see u in the next manpage π«Ά
π¦ 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