SRC/csyconvf.f(3)
π NAME
SRC/csyconvf.f β that's the page name, bestie, and this one lives in the Library Functions Manual. We're folding the manual name in right here so the vibe check is complete. β¨
β¨ SYNOPSIS
Functions/Subroutines
subroutine csyconvf (uplo, way, n, a, lda, e, ipiv, info)
CSYCONVF
π§ Function/Subroutine Documentation
subroutine csyconvf (character uplo, character way, integer n, complex,
dimension( lda, * ) a, integer lda, complex, dimension( * ) e, integer,
dimension( * ) ipiv, integer info)
CSYCONVF
π Purpose
Okay so here's the tea for WAY = 'C', bestie: CSYCONVF converts the factorization output format used in CSYTRF β the one provided on entry in parameter A β into the factorization output format used in CSYTRF_RK (or CSYTRF_BK) that is stored on exit in parameters A and E. It also converts, in place, details of the interchanges stored in IPIV from the format used in CSYTRF into the format used in CSYTRF_RK (or CSYTRF_BK). Iconic behavior, no cap. π
If parameter WAY = 'R', CSYCONVF performs the conversion in the reverse direction, i.e. it converts the factorization output format used in CSYTRF_RK (or CSYTRF_BK) provided on entry in parameters A and E into the factorization output format used in CSYTRF that is stored on exit in parameter A. It also converts, in place, details of the interchanges stored in IPIV from the format used in CSYTRF_RK (or CSYTRF_BK) into the format used in CSYTRF. Reversible queen. π¦
CSYCONVF can also convert in Hermitian matrix case, i.e. between formats used in CHETRF and CHETRF_RK (or CHETRF_BK). Versatile much? π
πΈ Parameters
Every parameter, served fresh, zero skips. π
UPLO
UPLO is CHARACTER*1. It specifies whether the details of the factorization are stored as an upper or lower triangular matrix A.
= 'U': Upper triangular= 'L': Lower triangular
WAY
WAY is CHARACTER*1.
= 'C': Convert= 'R': Revert
N
N is INTEGER. The order of the matrix A. N >= 0.
A
A is COMPLEX array, dimension (LDA,N).
1) If WAY ='C: (yes, the source has that exact spacing, we're keeping it)
- On entry, contains factorization details in format used in
CSYTRF:- a) all elements of the symmetric block diagonal matrix
Don the diagonal ofAand on superdiagonal (or subdiagonal) ofA, and - b) If
UPLO = 'U': multipliers used to obtain factorUin the superdiagonal part ofA. IfUPLO = 'L': multipliers used to obtain factorLin the superdiagonal part ofA.
- a) all elements of the symmetric block diagonal matrix
- On exit, contains factorization details in format used in
CSYTRF_RKorCSYTRF_BK:- a) ONLY diagonal elements of the symmetric block diagonal matrix
Don the diagonal ofA, i.e.D(k,k) = A(k,k); (superdiagonal (or subdiagonal) elements ofDare stored on exit in arrayE), and - b) If
UPLO = 'U': factorUin the superdiagonal part ofA. IfUPLO = 'L': factorLin the subdiagonal part ofA.
- a) ONLY diagonal elements of the symmetric block diagonal matrix
2) If WAY = 'R':
- On entry, contains factorization details in format used in
CSYTRF_RKorCSYTRF_BK:- a) ONLY diagonal elements of the symmetric block diagonal matrix
Don the diagonal ofA, i.e.D(k,k) = A(k,k); (superdiagonal (or subdiagonal) elements ofDare stored on exit in arrayE), and - b) If
UPLO = 'U': factorUin the superdiagonal part ofA. IfUPLO = 'L': factorLin the subdiagonal part ofA.
- a) ONLY diagonal elements of the symmetric block diagonal matrix
- On exit, contains factorization details in format used in
CSYTRF:- a) all elements of the symmetric block diagonal matrix
Don the diagonal ofAand on superdiagonal (or subdiagonal) ofA, and - b) If
UPLO = 'U': multipliers used to obtain factorUin the superdiagonal part ofA. IfUPLO = 'L': multipliers used to obtain factorLin the superdiagonal part ofA.
- a) all elements of the symmetric block diagonal matrix
LDA
LDA is INTEGER. The leading dimension of the array A. LDA >= max(1,N).
E
E is COMPLEX array, dimension (N).
1) If WAY ='C:
- On entry, just a workspace.
- On exit, contains the superdiagonal (or subdiagonal) elements of the symmetric block diagonal matrix
Dwith 1-by-1 or 2-by-2 diagonal blocks, where IfUPLO = 'U':E(i) = D(i-1,i),i=2:N,E(1)is set to 0; IfUPLO = 'L':E(i) = D(i+1,i),i=1:N-1,E(N)is set to 0.
2) If WAY = 'R':
- On entry, contains the superdiagonal (or subdiagonal) elements of the symmetric block diagonal matrix
Dwith 1-by-1 or 2-by-2 diagonal blocks, where IfUPLO = 'U':E(i) = D(i-1,i),i=2:N,E(1)not referenced; IfUPLO = 'L':E(i) = D(i+1,i),i=1:N-1,E(N)not referenced. - On exit, is not changed
IPIV
IPIV is INTEGER array, dimension (N).
1)IfWAY ='C: On entry, details of the interchanges and the block structure ofDin the format used inCSYTRF. On exit, details of the interchanges and the block structure ofDin the format used inCSYTRF_RK( orCSYTRF_BK).1)IfWAY ='R: On entry, details of the interchanges and the block structure ofDin the format used inCSYTRF_RK( orCSYTRF_BK). On exit, details of the interchanges and the block structure ofDin the format used inCSYTRF.
yes, both are labeled 1) in the original β we are preserving that exact lore, bestie π
INFO
INFO is INTEGER.
= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Contributors
November 2017, Igor Kozachenko, Computer Science Division, University of California, Berkeley
Definition at line 208 of file csyconvf.f.
π Author
Generated automatically by Doxygen for LAPACK from the source code.
Okay that's the whole page, bestie β signing off from LAPACK Version 3.12.0 on SRC/csyconvf.f(3). Stay converted, stay iconic. π
β¨π«Ά
π¦ 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