SRC/ssytrf_aa_2stage.f(3)
okay bestie, welcome to SRC/ssytrf_aa_2stage.f(3) from the Library Functions Manual β yes, we are literally about to understand ssytrf_aa_2stage. π
β¨ NAME β¨
SRC/ssytrf_aa_2stage.f
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine ssytrf_aa_2stage (uplo, n, a, lda, tb, ltb, ipiv, ipiv2,
work, lwork, info)
SSYTRF_AA_2STAGE
π¦ Function/Subroutine Documentation π¦
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)
SSYTRF_AA_2STAGE
Purpose
okay so SSYTRF_AA_2STAGE computes the factorization of a real symmetric matrix A using the 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. π₯
Parameters
UPLO
UPLOisCHARACTER*1= 'U':upper triangle ofAis stored;= 'L':lower triangle ofAis stored.
N
NisINTEGER- The order of matrix
A.N >= 0.
- The order of matrix
A
AisREAL array, dimension (LDA,N)- On entry, the symmetric matrix
A. 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').
- On entry, the symmetric matrix
LDA
LDAisINTEGER- The leading dimension of the array
A.LDA >= max(1,N).
- The leading dimension of the array
TB
TBisREAL array, dimension (LTB)- On exit, details of the LU factorization of the band matrix.
LTB
LTBisINTEGER- The size of the array
TB.LTB >= MAX(1,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 ofLTB, returns this value as the first entry ofTB, and no error message related toLTBis issued byXERBLA.
- The size of the array
IPIV
IPIVisINTEGER array, dimension (N)- On exit, it contains the details of the interchanges, i.e., the row and column
kofAwere interchanged with the row and columnIPIV(k).
- On exit, it contains the details of the interchanges, i.e., the row and column
IPIV2
IPIV2isINTEGER array, dimension (N)- On exit, it contains the details of the interchanges, i.e., the row and column
kofTwere interchanged with the row and columnIPIV(k).
- On exit, it contains the details of the interchanges, i.e., the row and column
WORK
WORKisREAL workspace of size (MAX(1,LWORK))
LWORK
LWORKisINTEGER- The size of
WORK.LWORK >= MAX(1,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 theWORKarray, returns this value as the first entry of theWORKarray, and no error message related toLWORKis issued byXERBLA.
- The size of
INFO
INFOisINTEGER= 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.
Author
Generated automatically by Doxygen for LAPACK from the source code.
mwah π this page is LAPACK Version 3.12.0, source SRC/ssytrf_aa_2stage.f(3). periodt. π«Άβ¨
π¦ 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