lasd0(3)
NAME ๐
okay bestie, this is lasd0(3) from the Library Functions Manual โ manual name folded in cute near the top, no boring header copy. The NAME tea is: lasd0 - lasd0: D&C step: top level solver ๐
SYNOPSIS โจ
Functions
dlasd0 โ signature, exactly:
subroutine dlasd0 (n, sqre, d, e, u, ldu, vt, ldvt, smlsiz, iwork, work, info)
DLASD0 computes the singular values of a real upper bidiagonal n-by-m matrix B with diagonal d and off-diagonal e. Used by sbdsdc. ๐ฅ
slasd0 โ signature, exactly:
subroutine slasd0 (n, sqre, d, e, u, ldu, vt, ldvt, smlsiz, iwork, work, info)
SLASD0 computes the singular values of a real upper bidiagonal n-by-m matrix B with diagonal d and off-diagonal e. Used by sbdsdc. ๐
Detailed Description ๐ซถ
(no extra prose here in the original โ just the function docs below, bestie. The real main-character energy is in Function Documentation.)
Function Documentation ๐
subroutine dlasd0 ๐
subroutine dlasd0 (integer n, integer sqre, double precision, dimension( * )
d, double precision, dimension( * ) e, double precision, dimension( ldu,
* ) u, integer ldu, double precision, dimension( ldvt, * ) vt, integer
ldvt, integer smlsiz, integer, dimension( * ) iwork, double precision,
dimension( * ) work, integer info)
DLASD0 computes the singular values of a real upper bidiagonal n-by-m matrix B with diagonal d and off-diagonal e. Used by sbdsdc.
Purpose ๐
Using a divide and conquer approach, DLASD0 computes the singular value decomposition (SVD) of a real upper bidiagonal N-by-M matrix B with diagonal D and offdiagonal E, where M = N + SQRE. The algorithm computes orthogonal matrices U and VT such that B = U * S * VT. The singular values S are overwritten on D.
A related subroutine, DLASDA, computes only the singular values, and optionally, the singular vectors in compact form. ๐ซ
Parameters ๐งฎ
NโNisINTEGER. On entry, the row dimension of the upper bidiagonal matrix. This is also the dimension of the main diagonal arrayD.SQREโSQREisINTEGER. Specifies the column dimension of the bidiagonal matrix.= 0: The bidiagonal matrix has column dimensionM = N;= 1: The bidiagonal matrix has column dimensionM = N+1;DโDisDOUBLE PRECISIONarray, dimension (N). On entryDcontains the main diagonal of the bidiagonal matrix. On exitD, ifINFO = 0, contains its singular values.EโEisDOUBLE PRECISIONarray, dimension (M-1). Contains the subdiagonal entries of the bidiagonal matrix. On exit,Ehas been destroyed. ๐ญUโUisDOUBLE PRECISIONarray, dimension (LDU,N). On exit,Ucontains the left singular vectors, ifUpassed in as (N,N) Identity.LDUโLDUisINTEGER. On entry, leading dimension ofU.VTโVTisDOUBLE PRECISIONarray, dimension (LDVT,M). On exit,VT**Tcontains the right singular vectors, ifVTpassed in as (M,M) Identity.LDVTโLDVTisINTEGER. On entry, leading dimension ofVT.SMLSIZโSMLSIZisINTEGER. On entry, maximum size of the subproblems at the bottom of the computation tree.IWORKโIWORKisINTEGERarray, dimension (8*N).WORKโWORKisDOUBLE PRECISIONarray, dimension (3*M**2+2*M).INFOโINFOisINTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-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 150 of file dlasd0.f.
subroutine slasd0 ๐
subroutine slasd0 (integer n, integer sqre, real, dimension( * ) d, real,
dimension( * ) e, real, dimension( ldu, * ) u, integer ldu, real,
dimension( ldvt, * ) vt, integer ldvt, integer smlsiz, integer,
dimension( * ) iwork, real, dimension( * ) work, integer info)
SLASD0 computes the singular values of a real upper bidiagonal n-by-m matrix B with diagonal d and off-diagonal e. Used by sbdsdc.
Purpose ๐
Using a divide and conquer approach, SLASD0 computes the singular value decomposition (SVD) of a real upper bidiagonal N-by-M matrix B with diagonal D and offdiagonal E, where M = N + SQRE. The algorithm computes orthogonal matrices U and VT such that B = U * S * VT. The singular values S are overwritten on D.
A related subroutine, SLASDA, computes only the singular values, and optionally, the singular vectors in compact form. ๐ซ
Parameters ๐งฎ
NโNisINTEGER. On entry, the row dimension of the upper bidiagonal matrix. This is also the dimension of the main diagonal arrayD.SQREโSQREisINTEGER. Specifies the column dimension of the bidiagonal matrix.= 0: The bidiagonal matrix has column dimensionM = N;= 1: The bidiagonal matrix has column dimensionM = N+1;DโDisREALarray, dimension (N). On entryDcontains the main diagonal of the bidiagonal matrix. On exitD, ifINFO = 0, contains its singular values.EโEisREALarray, dimension (M-1). Contains the subdiagonal entries of the bidiagonal matrix. On exit,Ehas been destroyed. ๐ญUโUisREALarray, dimension (LDU,N). On exit,Ucontains the left singular vectors, ifUpassed in as (N,N) Identity.LDUโLDUisINTEGER. On entry, leading dimension ofU.VTโVTisREALarray, dimension (LDVT,M). On exit,VT**Tcontains the right singular vectors, ifVTpassed in as (M,M) Identity.LDVTโLDVTisINTEGER. On entry, leading dimension ofVT.SMLSIZโSMLSIZisINTEGER. On entry, maximum size of the subproblems at the bottom of the computation tree.IWORKโIWORKisINTEGERarray, dimension (8*N).WORKโWORKisREALarray, dimension (3*M**2+2*M).INFOโINFOisINTEGER.= 0: successful exit.< 0: ifINFO = -i, the i-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 150 of file slasd0.f.
Author ๐
Generated automatically by Doxygen for LAPACK from the source code.
mwah ๐ โ footer tea: LAPACK Version 3.12.0 is the source/version, and the original footer has no date line, so no invented date, periodt. ๐
๐ฆ 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