SRC/dsptrs.f(3)
π SRC/dsptrs.f β the whole vibe
okay so this is the manpage for SRC/dsptrs.f, bestie. it's a Fortran file, it lives in LAPACK, and it's lowkey a legend. come learn with me π
β¨ SYNOPSIS β¨
Functions/Subroutines
subroutine dsptrs (uplo, n, nrhs, ap, ipiv, b, ldb, info)
that's DSPTRS π (yes the header of the function block literally just says DSPTRS and honestly? iconic of it)
π¦ Function/Subroutine Documentation π¦
subroutine dsptrs (character uplo, integer n, integer nrhs, double
precision, dimension( * ) ap, integer, dimension( * ) ipiv, double
precision, dimension( ldb, * ) b, integer ldb, integer info)
DSPTRS πΈ
π― Purpose π―
!>
!> DSPTRS solves a system of linear equations A*X = B with a real
!> symmetric matrix A stored in packed format using the factorization
!> A = U*D*U**T or A = L*D*L**T computed by DSPTRF.
!>
so fr fr what it does: it solves A*X = B. A is a real symmetric matrix, and it's stored in packed format π¦ (no wasted space, we love a minimalist queen). it uses the factorization A = U*D*U**T or A = L*D*L**T that DSPTRF already computed for you. no cap, that's the whole job π«Ά
π Parameters π
UPLOβUPLO is CHARACTER*1. tells us whether the factorization details are stored as an upper or lower triangular matrix:= 'U': upper triangular, form isA = U*D*U**T;= 'L': lower triangular, form isA = L*D*L**T.
NβN is INTEGER. the order of the matrixA. and babes,N >= 0β that's the rule β¨NRHSβNRHS is INTEGER. the number of right hand sides, i.e. the number of columns of the matrixB.NRHS >= 0πAPβAP is DOUBLE PRECISION array, dimension (N*(N+1)/2). the block diagonal matrixDplus the multipliers used to obtain the factorUorLas computed byDSPTRF, stored as a packed triangular matrix. so much info in so little space, she's efficient π₯IPIVβIPIV is INTEGER array, dimension (N). the details of the interchanges and the block structure ofDas determined byDSPTRF. receipts, basically πBβB is DOUBLE PRECISION array, dimension (LDB,NRHS). on entry, the right hand side matrixB. on exit, the solution matrixX. she goes in one girl and comes out a whole different girl πβ¨LDBβLDB is INTEGER. the leading dimension of the arrayB. andLDB >= max(1,N)β do not test her on this one π«ΆINFOβINFO is INTEGER:= 0: successful exit π slay< 0: ifINFO = -i, the i-th argument had an illegal value π (so like, check your args bestie)
π Author π
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
π Definition at line 114 of file dsptrs.f.
β Author (the meta one) β
Generated automatically by Doxygen for LAPACK from the source code. (not a human, just vibes and a perl script π§)
and that's the page!! thanks for coming to my ted talk π stay packed, stay factored π
β with love, from LAPACK, Version 3.12.0, dated SRC/dsptrs.f(3) πππ¦
π¦ 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