SLASD7(3)
π SLASD7(3) β Library Functions Manual π
Hey bestie, welcome to the SLASD7(3) page. It lives in the Library Functions Manual and comes from /home/abui...RC/slasd7.f(3) β yes, that truncated header path is literally how it shows up. The actual source path we're documenting is /home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slasd7.f. Buckle up, it's giving Fortran. π
π NAME
/home/abuild/rpmbuild/BUILD/lapack-static-3.12.0-build/lapack-3.12.0/SRC/slasd7.fβ the name line, kept exactly as-is because we do not mess with paths around here. π«Ά
β¨ SYNOPSIS β¨
π§ Functions/Subroutines
subroutine SLASD7 (icompq, nl, nr, sqre, k, d, z, zw, vf, vfw, vl, vlw,
alpha, beta, dsigma, idx, idxp, idxq, perm, givptr, givcol, ldgcol,
givnum, ldgnum, c, s, info)
SLASD7 merges the two sets of singular values together into a single sorted set. Then it tries to deflate the size of the problem. Used by sbdsdc.
π¦ Function/Subroutine Documentation π¦
subroutine SLASD7 (integer icompq, integer nl, integer nr, integer sqre,
integer k, real, dimension( * ) d, real, dimension( * ) z, real,
dimension( * ) zw, real, dimension( * ) vf, real, dimension( * ) vfw,
real, dimension( * ) vl, real, dimension( * ) vlw, real alpha, real
beta, real, dimension( * ) dsigma, integer, dimension( * ) idx, integer,
dimension( * ) idxp, integer, dimension( * ) idxq, integer, dimension( *
) perm, integer givptr, integer, dimension( ldgcol, * ) givcol, integer
ldgcol, real, dimension( ldgnum, * ) givnum, integer ldgnum, real c,
real s, integer info)
Same energy as above: SLASD7 merges both singular-value sets into one sorted set, then tries to deflate the problem size. Used by sbdsdc.
π Purpose π
Okay so the purpose is literally this: SLASD7 merges the two sets of singular values together into a single sorted set, then it tries to deflate the size of the problem. There are two ways deflation can occur: when two or more singular values are close together, or if there is a tiny entry in the Z vector. For each such occurrence, the order of the related secular equation problem is reduced by one. And bestie, SLASD7 is called from SLASD6. Periodt. π
π Parameters π
ICOMPQβICOMPQ is INTEGER. Specifies whether singular vectors are to be computed in compact form, as follows:= 0: compute singular values only.= 1: compute singular vectors of upper bidiagonal matrix in compact form.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 hasN = NL + NR + 1rows andM = N + SQRE >= Ncolumns.KβK is INTEGER. Contains the dimension of the non-deflated matrix; this is the order of the related secular equation.1 <= K <=N.DβD is REAL array, dimension ( N ). On entry D contains the singular values of the two submatrices to be combined. On exit D contains the trailing(N-K)updated singular values (those which were deflated) sorted into increasing order.ZβZ is REAL array, dimension ( M ). On exit Z contains the updating row vector in the secular equation.ZWβZW is REAL array, dimension ( M ). Workspace forZ.VFβVF is REAL array, dimension ( M ). On entry,VF(1:NL+1)contains the first components of all right singular vectors of the upper block; andVF(NL+2:M)contains the first components of all right singular vectors of the lower block. On exit,VFcontains the first components of all right singular vectors of the bidiagonal matrix.VFWβVFW is REAL array, dimension ( M ). Workspace forVF.VLβVL is REAL array, dimension ( M ). On entry,VL(1:NL+1)contains the last components of all right singular vectors of the upper block; andVL(NL+2:M)contains the last components of all right singular vectors of the lower block. On exit,VLcontains the last components of all right singular vectors of the bidiagonal matrix.VLWβVLW is REAL array, dimension ( M ). Workspace forVL.ALPHAβALPHA is REAL. Contains the diagonal element associated with the added row.BETAβBETA is REAL. Contains the off-diagonal element associated with the added row.DSIGMAβDSIGMA is REAL array, dimension ( N ). Contains a copy of the diagonal elements (K-1singular values and one zero) in the secular equation.IDXβIDX is INTEGER array, dimension ( N ). This will contain the permutation used to sort the contents ofDinto ascending order.IDXPβIDXP is INTEGER array, dimension ( N ). This will contain the permutation used to place deflated values ofDat the end of the array. On outputIDXP(2:K)points to the nondeflated D-values andIDXP(K+1:N)points to the deflated singular values.IDXQβIDXQ is INTEGER array, dimension ( N ). This contains the permutation which separately sorts the two sub-problems inDinto ascending order. Note that entries in the first half of this permutation must first be moved one position backward; and entries in the second half must first haveNL+1added to their values.PERMβPERM is INTEGER array, dimension ( N ). The permutations (from deflation and sorting) to be applied to each singular block. Not referenced ifICOMPQ = 0.GIVPTRβGIVPTR is INTEGER. The number of Givens rotations which took place in this subproblem. Not referenced ifICOMPQ = 0.GIVCOLβGIVCOL is INTEGER array, dimension ( LDGCOL, 2 ). Each pair of numbers indicates a pair of columns to take place in a Givens rotation. Not referenced ifICOMPQ = 0.LDGCOLβLDGCOL is INTEGER. The leading dimension ofGIVCOL, must be at leastN.GIVNUMβGIVNUM is REAL array, dimension ( LDGNUM, 2 ). Each number indicates theCorSvalue to be used in the corresponding Givens rotation. Not referenced ifICOMPQ = 0.LDGNUMβLDGNUM is INTEGER. The leading dimension ofGIVNUM, must be at leastN.CβC is REAL.Ccontains garbage ifSQRE =0and the C-value of a Givens rotation related to the right null space ifSQRE = 1.SβS is REAL.Scontains garbage ifSQRE =0and the S-value of a Givens rotation related to the right null space ifSQRE = 1.INFOβINFO is INTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-th argument had an illegal value.
π 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. Iconic. π«Ά
Definition at line 276 of file slasd7.f.
π Author π
Generated automatically by Doxygen for LAPACK from the source code.
And that's the whole page, bestie! Signed, sealed, slayed: LAPACK Version 3.12.0, footer path /home/abui...RC/slasd7.f(3). πβ¨π
π¦ 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