TESTING/LIN/dlavsp.f(3)
β¨ TESTING/LIN/dlavsp.f β¨
okay bestie, so this is from the Library Functions Manual and it's literally all about dlavsp.f β a Fortran subroutine that's giving major main character energy in the LAPACK testing world π
β¨
π SYNOPSIS π
Functions/Subroutines
subroutine dlavsp (uplo, trans, diag, n, nrhs, a, ipiv, b, ldb, info)β DLAVSP
π 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 β slay
π¦ Purpose π¦
okay soDLAVSPperforms one of the matrix-vector operationsfortran x := A*x or x := A'*x,where x is an N element vector and A is one of the factors from the blockU*D*U'orL*D*L'factorization computed byDSPTRF. IfTRANS = 'N', multiplies by U orU * D(or L orL * D) IfTRANS = 'T', multiplies byU'orD * U'(orL'orD * L') IfTRANS = 'C', multiplies byU'orD * U'(orL'orD * L') periodt. π
π Parameters π
UPLOβUPLOisCHARACTER*1. Specifies whether the factor stored in A is 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 matrix A.N >= 0. fr frNRHSβNRHSisINTEGER. The number of right hand sides, i.e., the number of vectors x to be multiplied by A.NRHS >= 0. no capAβAisDOUBLE PRECISIONarray, dimension(N*(N+1)/2). The block diagonal matrix D and the multipliers used to obtain the factor U or L, stored as a packed triangular matrix as computed byDSPTRF. iconic πIPIVβIPIVisINTEGERarray, dimension(N). The pivot indices fromDSPTRF.BβBisDOUBLE PRECISIONarray, dimension(LDB,NRHS). On entry, B contains NRHS vectors of length N. On exit, B is overwritten with the productA * B. π¦LDBβLDBisINTEGER. The leading dimension of the array B.LDB >= max(1,N).INFOβINFOisINTEGER.= 0: successful exit π< 0: ifINFO = -k, the k-th argument had an illegal value π
π Author π
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Definition at line 128 of file dlavsp.f.
π Author: Generated automatically by Doxygen for LAPACK from the source code.
okay bestie that's the whole vibe of dlavsp.f β like, it's giving "I'm a serious numerical linear algebra routine but make it cute" and honestly? we're obsessed. π
β¨
LAPACK Version 3.12.0 πΈ β signing off, your fave Fortran 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