SSYTRF_AA_2STAGE(3)
β¨ NAME β¨
Okay so bestie, weβre on the ssytrf_aa_2stage.f(3) page of the Library Functions Manual, and the file being documented is literally this absolute path right here:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/ssytrf_aa_2stage.f
πΈ SYNOPSIS πΈ
π Functions/Subroutines π
subroutine SSYTRF_AA_2STAGE (uplo, n, a, lda, tb, ltb, ipiv, ipiv2, work, lwork, info)β the icon itself,SSYTRF_AA_2STAGE, with all those arguments lined up like a group chat roll call.
π Function/Subroutine Documentation π
The full signature, copied exactly, because we do not play with source-code spelling around here:
subroutine SSYTRF_AA_2STAGE (character uplo, integer n, real, dimension(
lda, * ) a, integer lda, real, dimension( * ) tb, integer ltb, integer,
dimension( * ) ipiv, integer, dimension( * ) ipiv2, real, dimension( * )
work, integer lwork, integer info)
And yes, the name is SSYTRF_AA_2STAGE again. Documentation said βsay it again for the people in the back,β and honestly? slay.
π Purpose π
Bestie, listen: SSYTRF_AA_2STAGE computes the factorization of a real 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 symmetric band matrix with the bandwidth of NB (NB is internally selected and stored in TB( 1 ), and T is LU factorized with partial pivoting).
This is the blocked version of the algorithm, calling Level 3 BLAS. Highkey iconic behavior.
π Parameters π
UPLOβUPLOisCHARACTER*1. Itβs giving βwhich triangle are we keeping?β energy:= 'U': upper triangle ofAis stored;= 'L': lower triangle ofAis stored.NβNisINTEGER, the order of the matrixA. Constraint:N >= 0.AβAis aREALarray, dimension(LDA,N). On entry, itβs 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, L is stored below (or above) the subdiagonal blocks, when UPLO is 'L' (or 'U'). Not me checking both triangles like a paranoid bestie.
LDAβLDAisINTEGER, the leading dimension of the arrayA. Constraint:LDA >= max(1,N).TBβTBis aREALarray, dimension(LTB). On exit, it contains details of the LU factorization of the band matrix.LTBβLTBisINTEGER, the size of the arrayTB. Constraint:LTB >= 4*N, internally used to selectNBsuch thatLTB >= (3*NB+1)*N.
If LTB = -1, then a workspace query is assumed; the routine only calculates the optimal size of LTB, returns this value as the first entry of TB, and no error message related to LTB is issued by XERBLA. Workspace-query era, we love to see it.
IPIVβIPIVis anINTEGERarray, 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βIPIV2is anINTEGERarray, dimension(N). On exit, it contains the details of the interchanges, i.e., the row and columnkofTwere interchanged with the row and columnIPIV(k). Yes, the source saysIPIV(k)right there; weβre keeping it exactly as written, no cap.WORKβWORKis aREALworkspace of sizeLWORK.LWORKβLWORKisINTEGER, the size ofWORK. Constraint:LWORK >= N, internally used to selectNBsuch thatLWORK >= N*NB.
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. Another workspace query? We stay querying.
INFOβINFOisINTEGER. The vibe check goes like this:= 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 158 of file ssytrf_aa_2stage.f. Noted, bookmarked, timestamped in my brain.
π« Author π«
Generated automatically by Doxygen for LAPACK from the source code. Automation ate, honestly.
Mwah π β this was LAPACK Version 3.12.0, page path /home/abui...aa_2stage.f(3), and yes bestie, thatβs the cute little footer sign-off.
π¦ where this page comes from
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- opensuse-leap 16.0: lapack-man 3.12.0-160000.2.2 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms