SRC/slasd3.f(3)
๐ SRC/slasd3.f(3) ๐
Library Functions Manual? More like library functions bestie manual. This page is SRC/slasd3.f(3), and it's all about one very specific LAPACK subroutine. Buckle up, bestie. ๐โจ
โจ NAME โจ
SRC/slasd3.f โ that's the whole name section. Short, iconic, no notes. ๐
๐ ๏ธ SYNOPSIS ๐ ๏ธ
๐ Functions/Subroutines ๐
Here's the one function on this page, bestie:
subroutine slasd3 (nl, nr, sqre, k, d, q, ldq, dsigma, u, ldu, u2, ldu2,
vt, ldvt, vt2, ldvt2, idxc, ctot, z, info)
SLASD3 finds all square roots of the roots of the secular equation, as defined by the values in D and Z, and then updates the singular vectors by matrix multiplication. Used by sbdsdc. ๐ซถ
๐งฎ Function/Subroutine Documentation ๐งฎ
Same subroutine, now with the full type glow-up:
subroutine slasd3 (integer nl, integer nr, integer sqre, integer k, real,
dimension( * ) d, real, dimension( ldq, * ) q, integer ldq, real,
dimension( * ) dsigma, real, dimension( ldu, * ) u, integer ldu, real,
dimension( ldu2, * ) u2, integer ldu2, real, dimension( ldvt, * ) vt,
integer ldvt, real, dimension( ldvt2, * ) vt2, integer ldvt2, integer,
dimension( * ) idxc, integer, dimension( * ) ctot, real, dimension( * )
z, integer info)
SLASD3 finds all square roots of the roots of the secular equation, as defined by the values in D and Z, and then updates the singular vectors by matrix multiplication. Used by sbdsdc. ๐ธ
๐ฏ Purpose ๐ฏ
SLASD3 finds all the square roots of the roots of the secular equation, as defined by the values in D and Z. It makes the appropriate calls to SLASD4 and then updates the singular vectors by matrix multiplication.
SLASD3 is called from SLASD1. No cap. ๐ฅ
๐ Parameters ๐
Okay, parameter time. Every single one is here, no skips, bestie:
NLโNL is INTEGER. The row dimension of the upper block.NL >= 1.NRโNR is INTEGER. The row dimension of the lower block.NR >= 1.SQREโSQRE is INTEGER= 0: the lower block is an NR-by-NR square matrix.= 1: the lower block is an NR-by-(NR+1) rectangular matrix.- The bidiagonal matrix has
N = NL + NR + 1rows andM = N + SQRE >= Ncolumns.
KโK is INTEGER. The size of the secular equation,1 =< K = < N.DโD is REAL array, dimension(K). On exit the square roots of the roots of the secular equation, in ascending order.QโQ is REAL array, dimension (LDQ,K). Literally just that array shape.LDQโLDQ is INTEGER. The leading dimension of the arrayQ.LDQ >= K.DSIGMAโDSIGMA is REAL array, dimension(K). The firstKelements of this array contain the old roots of the deflated updating problem. These are the poles of the secular equation.UโU is REAL array, dimension (LDU, N). The lastN - Kcolumns of this matrix contain the deflated left singular vectors.LDUโLDU is INTEGER. The leading dimension of the arrayU.LDU >= N.U2โU2 is REAL array, dimension (LDU2, N). The firstKcolumns of this matrix contain the non-deflated left singular vectors for the split problem.LDU2โLDU2 is INTEGER. The leading dimension of the arrayU2.LDU2 >= N.VTโVT is REAL array, dimension (LDVT, M). The lastM - Kcolumns ofVT**Tcontain the deflated right singular vectors.LDVTโLDVT is INTEGER. The leading dimension of the arrayVT.LDVT >= N.VT2โVT2 is REAL array, dimension (LDVT2, N). The firstKcolumns ofVT2**Tcontain the non-deflated right singular vectors for the split problem.LDVT2โLDVT2 is INTEGER. The leading dimension of the arrayVT2.LDVT2 >= N.IDXCโIDXC is INTEGER array, dimension (N). The permutation used to arrange the columns ofU(and rows ofVT) into three groups: the first group contains non-zero entries only at and above (or before)NL +1; the second contains non-zero entries only at and below (or after)NL+2; and the third is dense. The first column ofUand the row ofVTare treated separately, however.
The rows of the singular vectors found by SLASD4 must be likewise permuted before the matrix multiplies can take place.
CTOTโCTOT is INTEGER array, dimension (4). A count of the total number of the various types of columns inU(or rows inVT), as described inIDXC. The fourth column type is any column which has been deflated.ZโZ is REAL array, dimension (K). The firstKelements of this array contain the components of the deflation-adjusted updating row vector.INFOโINFO is INTEGER= 0: successful exit.< 0: if INFO = -i, the i-th argument had an illegal value.> 0: if INFO = 1, a singular value did not converge
โ๏ธ Author โ๏ธ
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
๐ฏ Contributors ๐ฏ
Ming Gu and Huan Ren, Computer Science Division, University of California at Berkeley, USA
Definition at line 214 of file slasd3.f. ๐
๐ Author ๐
Generated automatically by Doxygen for LAPACK from the source code.
๐ That's the whole page, bestie! Footer vibes: LAPACK Version 3.12.0, SRC/slasd3.f(3). Signed, sealed, slayed. ๐
โจ
๐ฆ 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