DSYCONVF(3)
π DSYCONVF(3) π
Okay bestie, welcome to the Library Functions Manual corner of LAPACK. This page is giving βone subroutine, one job, and a whole lot of array loreβ and Iβm honestly obsessed. π¦
β¨ NAME β¨
The name line is literally this path, no edits, no cap:
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/dsyconvf.f
Thatβs the whole NAME section. Sheβs lowkey just a file path, and thatβs iconic. π
π SYNOPSIS π
π Functions/Subroutines π
subroutine DSYCONVF (uplo, way, n, a, lda, e, ipiv, info)
And yes, the star of the show is DSYCONVF. Main character energy fr fr. β¨
π Function/Subroutine Documentation π
Hereβs the full signature, kept exactly as it appears, because we do not mess with code signatures in this group chat:
subroutine DSYCONVF (character uplo, character way, integer n, double
precision, dimension( lda, * ) a, integer lda, double precision,
dimension( * ) e, integer, dimension( * ) ipiv, integer info)
DSYCONVF
π«Ά Purpose π«Ά
So hereβs the vibe check, bestie. This subroutine is a format converter for factorization details. Very βglow-up but for arrays.β π
If parameter WAY = 'C':
DSYCONVFconverts the factorization output format used inDSYTRFprovided on entry in parameterAinto the factorization output format used inDSYTRF_RK(orDSYTRF_BK) that is stored on exit in parametersAandE.- It also converts in place details of the interchanges stored in
IPIVfrom the format used inDSYTRFinto the format used inDSYTRF_RK(orDSYTRF_BK).
If parameter WAY = 'R':
DSYCONVFperforms the conversion in reverse direction, i.e. converts the factorization output format used inDSYTRF_RK(orDSYTRF_BK) provided on entry in parametersAandEinto the factorization output format used inDSYTRFthat is stored on exit in parameterA.- It also converts in place details of the interchanges stored in
IPIVfrom the format used inDSYTRF_RK(orDSYTRF_BK) into the format used inDSYTRF.
No cap, thatβs the whole plot: convert one way with 'C', revert the other way with 'R'. π¦
πΈ Parameters πΈ
π 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 a DOUBLE PRECISION array, dimension (LDA,N).
- If
WAY ='C':- On entry, contains factorization details in format used in
DSYTRF:- 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
DSYTRF_RKorDSYTRF_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 entry, contains factorization details in format used in
- If
WAY = 'R':- On entry, contains factorization details in format used in
DSYTRF_RKorDSYTRF_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
DSYTRF:- 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 entry, contains factorization details in format used in
π LDA π
LDA is INTEGER.
The leading dimension of the array A. LDA >= max(1,N).
π E π
E is a DOUBLE PRECISION array, dimension (N).
- If
WAY ='C':- On entry, just a workspace.
- On exit, contains the superdiagonal (or subdiagonal) elements of the symmetric block diagonal matrix
Dwith1-by-1or2-by-2diagonal 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.
- If
WAY ='R':- On entry, contains the superdiagonal (or subdiagonal) elements of the symmetric block diagonal matrix
Dwith1-by-1or2-by-2diagonal 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.
- On entry, contains the superdiagonal (or subdiagonal) elements of the symmetric block diagonal matrix
π IPIV π
IPIV is an INTEGER array, dimension (N).
1) If WAY ='C': On entry, details of the interchanges and the block structure ofDin the format used inDSYTRF. On exit, details of the interchanges and the block structure ofDin the format used inDSYTRF_RK( orDSYTRF_BK).1) If WAY ='R': On entry, details of the interchanges and the block structure ofDin the format used inDSYTRF_RK( orDSYTRF_BK). On exit, details of the interchanges and the block structure ofDin the format used inDSYTRF.
Yes, the source labels both as 1) β weβre preserving the typo because thatβs the assignment, bestie. π
π INFO π
INFO is INTEGER.
= 0: successful exit< 0: ifINFO = -i, thei-thargument 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 205 of file dsyconvf.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
Okay thatβs the page, bestie! Footer tea: LAPACK, Version 3.12.0, and the file path /home/abui.../dsyconvf.f(3). Date? Not listed in this footer, so Iβm not inventing one β periodt. πβ¨
π¦ 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