SRC/slasyf.f(3)
π SRC/slasyf.f(3) π
okay so bestie, welcome to the SRC/slasyf.f(3) page from the Library Functions Manual. Itβs highkey giving tiny Fortran icon energy. Letβs get into it πβ¨ no cap.
β¨ NAME β¨
SRC/slasyf.f
πΈ SYNOPSIS πΈ
Functions/Subroutines
subroutine slasyf (uplo, n, nb, kb, a, lda, ipiv, w, ldw, info)β SLASYF computes a partial factorization of a real symmetric matrix using the Bunch-Kaufman diagonal pivoting method. π₯
π Function/Subroutine Documentation π
subroutine slasyf (character uplo, integer n, integer nb, integer kb, real, dimension( lda, * ) a, integer lda, integer, dimension( * ) ipiv, real, dimension( ldw, * ) w, integer ldw, integer info)
SLASYF computes a partial factorization of a real symmetric matrix using the Bunch-Kaufman diagonal pivoting method.
π Purpose π
SLASYF computes a partial factorization of a real symmetric matrix A using the Bunch-Kaufman diagonal pivoting method β iconic. The partial factorization has the form:
A = ( I U12 ) ( A11 0 ) ( I 0 ) if UPLO = 'U', or:
( 0 U22 ) ( 0 D ) ( U12**T U22**T )
A = ( L11 0 ) ( D 0 ) ( L11**T L21**T ) if UPLO = 'L'
( L21 I ) ( 0 A22 ) ( 0 I )
where the order of D is at most NB. The actual order is returned in the argument KB, and is either NB or NB-1, or N if N <= NB.
SLASYF is an auxiliary routine called by SSYTRF. It uses blocked code (calling Level 3 BLAS) to update the submatrix A11 (if UPLO = 'U') or A22 (if UPLO = 'L'). slay. The way that it splits the matrix? lowkey obsessed, fr fr. The formulas are literally right here π. Periodt.
π§ Parameters π§
UPLOβUPLOisCHARACTER*1. Specifies whether the upper or lower triangular part of the symmetric matrixAis stored:= 'U': Upper triangular= 'L': Lower triangular
NβNisINTEGER. The order of the matrixA.N >= 0.NBβNBisINTEGER. The maximum number of columns of the matrixAthat should be factored.NBshould be at least2to allow for2-by-2pivot blocks.KBβKBisINTEGER. The number of columns ofAthat were actually factored.KBis eitherNB-1orNB, orNifN <= NB.AβAisREALarray, dimension(LDA,N). On entry, 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,Acontains details of the partial factorization.LDAβLDAisINTEGER. The leading dimension of the arrayA.LDA >= max(1,N).IPIVβIPIVisINTEGERarray, dimension(N). Details of the interchanges and the block structure ofD. main character energy, honestly. not me being obsessed with pivot blocks. iykyk.- If
UPLO = 'U':- Only the last
KBelements ofIPIVare set. - If
IPIV(k) > 0, then rows and columnskandIPIV(k)were interchanged andD(k,k)is a1-by-1diagonal block. - If
IPIV(k) = IPIV(k-1) < 0, then rows and columnsk-1and-IPIV(k)were interchanged andD(k-1:k,k-1:k)is a2-by-2diagonal block.
- Only the last
- If
UPLO = 'L':- Only the first
KBelements ofIPIVare set. - If
IPIV(k) > 0, then rows and columnskandIPIV(k)were interchanged andD(k,k)is a1-by-1diagonal block. - If
IPIV(k) = IPIV(k+1) < 0, then rows and columnsk+1and-IPIV(k)were interchanged andD(k:k+1,k:k+1)is a2-by-2diagonal block.
- Only the first
- If
WβWisREALarray, dimension(LDW,NB).LDWβLDWisINTEGER. The leading dimension of the arrayW.LDW >= max(1,N).INFOβINFOisINTEGER.= 0: successful exit> 0: ifINFO = k,D(k,k)is exactly zero. The factorization has been completed, but the block diagonal matrixDis exactly singular.
π Author π
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
π Contributors: π
- November 2013, Igor Kozachenko, Computer Science Division, University of California, Berkeley
Definition at line 175 of file slasyf.f.
π¦ Author π¦
Generated automatically by Doxygen for LAPACK from the source code.
ngl, thatβs the whole page, bestie! footer vibe check: LAPACK, Version 3.12.0, SRC/slasyf.f(3) β thatβs the source/version info, and thereβs no separate date line in this footer. Bye bestie πβ¨π«Ά
π¦ 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