DLAVSP(3)
π DLAVSP(3) β bestie, it's a LAPACK page
Okay so before anything else: this is dlavsp.f(3), it lives in the Library Functions Manual, and the file it documents is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/TESTING/LIN/dlavsp.f. That's the whole NAME situation, no notes. π«Ά
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine DLAVSP (uplo, trans, diag, n, nrhs, a, ipiv, b, ldb, info)β literally DLAVSP, that's the whole pitch π
πΈ Function/Subroutine Documentation πΈ
subroutine DLAVSP (character uplo, character trans, character diag, integer
n, integer nrhs, double precision, dimension( * ) a, integer, dimension(
* ) ipiv, double precision, dimension( ldb, * ) b, integer ldb, integer
info)
DLAVSP. That's her. π
π Purpose:
!>
!> DLAVSP performs one of the matrix-vector operations
!> x := A*x or x := A'*x,
!> where x is an N element vector and A is one of the factors
!> from the block U*D*U' or L*D*L' factorization computed by DSPTRF.
!>
!> If TRANS = 'N', multiplies by U or U * D (or L or L * D)
!> If TRANS = 'T', multiplies by U' or D * U' (or L' or D * L' )
!> If TRANS = 'C', multiplies by U' or D * U' (or L' or D * L' )
!>
So like, DLAVSP does one of the matrix-vector operations x := A*x or x := A'*x, where x is an N element vector and A is one of the factors from the block U*D*U' or L*D*L' factorization computed by DSPTRF. It's giving "I'm the multiplication half of the story." β¨
To recap the switch-up, fr fr:
- If
TRANS = 'N', it multiplies byUorU * D(orLorL * D) - If
TRANS = 'T', it multiplies byU'orD * U'(orL'orD * L') - If
TRANS = 'C', it multiplies byU'orD * U'(orL'orD * L')
π Parameters π
UPLOβUPLOisCHARACTER*1. Specifies whether the factor stored inAis upper or lower triangular.= 'U': Upper triangular= 'L': Lower triangular
TRANSβTRANSisCHARACTER*1. Specifies the operation to be performed:= 'N':x := A*x= 'T':x := A'*x= 'C':x := A'*x
DIAGβDIAGisCHARACTER*1. Specifies whether or not the diagonal blocks are unit matrices. If the diagonal blocks are assumed to be unit, thenA = UorA = L, otherwiseA = U*DorA = L*D.= 'U': Diagonal blocks are assumed to be unit matrices.= 'N': Diagonal blocks are assumed to be non-unit matrices.
NβNisINTEGER. The number of rows and columns of the matrixA.N >= 0. πNRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of vectorsxto be multiplied byA.NRHS >= 0. (So many vectors, so little time.)AβAisDOUBLE PRECISIONarray, dimension(N*(N+1)/2). The block diagonal matrixDand the multipliers used to obtain the factorUorL, stored as a packed triangular matrix as computed byDSPTRF. Iconic storage choice, honestly. πIPIVβIPIVisINTEGERarray, dimension(N). The pivot indices fromDSPTRF. π¦BβBisDOUBLE PRECISIONarray, dimension(LDB,NRHS). On entry,BcontainsNRHSvectors of lengthN. On exit,Bis overwritten with the productA * B. Heads up bestie, she will eat your input β that's the whole point. πLDBβLDBisINTEGER. The leading dimension of the arrayB.LDB >= max(1,N). Respect the bound or perish.INFOβINFOisINTEGER.= 0: successful exit π< 0: ifINFO = -k, the k-th argument had an illegal value
Lowkey the INFO < 0 case is the vibe check failing β the k-th argument showed up illegal and got called out by number. No cap.
π Author
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 128 of file dlavsp.f. β
π Author (yes, again)
Generated automatically by Doxygen for LAPACK from the source code. Not a human, just a very diligent robot doing its little documentation dance. π€β¨
KeepA,IPIV,BandLDBconsistent with whatDSPTRFgave you β this routine is downstream of it and does not re-derive anything for you. π§
Okay that's the whole page, mwah π β this was dlavsp.f(3) from LAPACK, Version 3.12.0. Go multiply something responsibly. ππ₯
π¦ 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