SLASD3(3)
πΈ SLASD3(3) β the slasd3.f main character π
okay bestie, welcome to the Library Functions Manual page for SLASD3(3) β yes, the page for /home/abui...RC/slasd3.f(3), and the source file is out here living its full path life below. Sheβs a LAPACK Fortran subroutine, sheβs iconic, and sheβs about to explain secular-equation square roots and singular-vector updates without making your brain leak. β¨
β¨ NAME β¨
SLASD3 β the subroutine chillinβ at /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slasd3.f. Thatβs the whole name entry, no cap.
π¦ SYNOPSIS π¦
Functions/Subroutines
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 π
Hereβs the full typed signature, character for character, bestie:
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.
Parameters
NLβINTEGER. The row dimension of the upper block.NL >= 1.NRβINTEGER. The row dimension of the lower block.NR >= 1.SQREβINTEGER.= 0: the lower block is anNR-by-NRsquare matrix.= 1: the lower block is anNR-by-(NR+1)rectangular matrix. The bidiagonal matrix hasN = NL + NR + 1rows andM = N + SQRE >= Ncolumns.KβINTEGER. The size of the secular equation,1 =< K = < N.DβREAL array, dimension(K). On exit the square roots of the roots of the secular equation, in ascending order.QβREAL array, dimension (LDQ,K).LDQβINTEGER. The leading dimension of the arrayQ.LDQ >= K.DSIGMAβ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βREAL array, dimension (LDU, N). The lastN - Kcolumns of this matrix contain the deflated left singular vectors.LDUβINTEGER. The leading dimension of the arrayU.LDU >= N.U2βREAL array, dimension (LDU2, N). The firstKcolumns of this matrix contain the non-deflated left singular vectors for the split problem.LDU2βINTEGER. The leading dimension of the arrayU2.LDU2 >= N.VTβREAL array, dimension (LDVT, M). The lastM - Kcolumns ofVT**Tcontain the deflated right singular vectors.LDVTβINTEGER. The leading dimension of the arrayVT.LDVT >= N.VT2βREAL array, dimension (LDVT2, N). The firstKcolumns ofVT2**Tcontain the non-deflated right singular vectors for the split problem.LDVT2βINTEGER. The leading dimension of the arrayVT2.LDVT2 >= N.IDXCβ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 bySLASD4must be likewise permuted before the matrix multiplies can take place.CTOTβ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βREAL array, dimension (K). The firstKelements of this array contain the components of the deflation-adjusted updating row vector.INFOβINTEGER.= 0: successful exit.< 0: ifINFO = -i, thei-th argument had an illegal value.> 0: ifINFO = 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 β brought to you by LAPACK Version 3.12.0 and /home/abui...RC/slasd3.f(3). Periodt. π
π¦ 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