SRC/csytrf_aa.f(3)
π SRC/csytrf_aa.f π
okay bestie, so this page lives in the LAPACK manual, and it's literally all about csytrf_aa β like, the whole page. no cap. let's get into it π«Ά
β¨ SYNOPSIS β¨
π Functions/Subroutines π
subroutine csytrf_aa (uplo, n, a, lda, ipiv, work, lwork, info)β and that's the one and onlyCSYTRF_AA, our main character π
πΈ Function/Subroutine Documentation πΈ
π the actual signature π
subroutine csytrf_aa (character uplo, integer n, complex, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, complex, dimension( * ) work, integer lwork, integer info)
CSYTRF_AA β say it with me π
β Purpose β
bestie, here's the tea: CSYTRF_AA computes the factorization of a complex symmetric matrix A using Aasen's algorithm. the form of the factorization is
A = U**T*T*U or A = L*T*L**T
where U (or L) is a product of permutation and unit upper (lower) triangular matrices, and T is a complex symmetric tridiagonal matrix. iconic behavior fr fr β¨
this is the blocked version of the algorithm, calling Level 3 BLAS. we love an efficient queen π₯
π¦ Parameters π¦
UPLO
UPLO is CHARACTER*1 β pick your vibe:
= 'U': the upper triangle ofAis stored;= 'L': the lower triangle ofAis stored.
N
N is INTEGER β the order of the matrix A. constraint: N >= 0 π
A
A is COMPLEX array, dimension (LDA,N)
on entry: the symmetric matrix A. if UPLO = '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. if UPLO = '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: the tridiagonal matrix is stored in the diagonals and the subdiagonals of A just below (or above) the diagonals, and L is stored below (or above) the subdiagonals, when UPLO is 'L' (or 'U'). the glow-up is real π
LDA
LDA is INTEGER β the leading dimension of the array A. constraint: LDA >= max(1,N) π
IPIV
IPIV is INTEGER array, dimension (N)
on exit, it contains the details of the interchanges, i.e., the row and column k of A were interchanged with the row and column IPIV(k). she's swapping things around, we stan π
WORK
WORK is COMPLEX array, dimension (MAX(1,LWORK))
on exit, if INFO = 0, WORK(1) returns the optimal LWORK. noted π
LWORK
LWORK is INTEGER β the length of WORK. constraint: LWORK >= MAX(1,2*N). for optimum performance LWORK >= N*(1+NB), where NB is the optimal blocksize. go big or go home bestie πͺ
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. very demure, very mindful π
INFO
INFO is INTEGER
= 0: successful exit π< 0: ifINFO = -i, thei-th argument had an illegal value. π
ngl bestie, that< 0case means somebody fed her a bad argument β she will tell you exactly which one viaINFO = -i. no mystery, no drama, just receipts.
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 131 of file csytrf_aa.f. π―
π Author π
Generated automatically by Doxygen for LAPACK from the source code. iykyk π€β¨
and that's the whole page bestie! LAPACK, Version 3.12.0, dated with the source β 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