lasq1(3)
π NAME π
Welcome to the lasq1(3) page from the Library Functions Manual, bestie β this is the tea on lasq1, aka the dqds step. It's giving LAPACK bidiagonal SVD energy, and there are two Fortran subroutines to meet: dlasq1 and slasq1. No cap. π
β¨ SYNOPSIS β¨
π Functions π
subroutine dlasq1 (n, d, e, work, info)β DLASQ1 computes the singular values of a real square bidiagonal matrix. Used by sbdsqr.subroutine slasq1 (n, d, e, work, info)β SLASQ1 computes the singular values of a real square bidiagonal matrix. Used by sbdsqr.
π«Ά DETAILED DESCRIPTION π«Ά
This is where the full function documentation lives, so consider this the runway to the detailed subroutine section below. Scroll, queen. π
π FUNCTION DOCUMENTATION π
π§ subroutine dlasq1
subroutine dlasq1 (integer n, double precision, dimension( * ) d, double precision, dimension( * ) e, double precision, dimension( * ) work, integer info)
DLASQ1 computes the singular values of a real square bidiagonal matrix. Used by sbdsqr.
π Purpose π
Okay so DLASQ1 computes the singular values of a real N-by-N bidiagonal matrix with diagonal D and off-diagonal E. The singular values are computed to high relative accuracy, in the absence of denormalization, underflow and overflow. The algorithm was first presented in by K. V. Fernando and B. N. Parlett, Numer. Math., Vol-67, No. 2, pp. 191-230, 1994, and the present implementation is described in , LAPACK Working Note.
πΈ Parameters πΈ
NβNis INTEGER. The number of rows and columns in the matrix.N >= 0.DβDis DOUBLE PRECISION array, dimension (N). On entry,Dcontains the diagonal elements of the bidiagonal matrix whose SVD is desired. On normal exit,Dcontains the singular values in decreasing order.EβEis DOUBLE PRECISION array, dimension (N). On entry, elementsE(1:N-1)contain the off-diagonal elements of the bidiagonal matrix whose SVD is desired. On exit,Eis overwritten.WORKβWORKis DOUBLE PRECISION array, dimension (4*N).INFOβINFOis INTEGER.= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value> 0: the algorithm failed= 1, a split was marked by a positive value inE= 2, current block ofZnot diagonalized after100*Niterations (in inner while loop) On exitDandErepresent a matrix with the same singular values which the calling subroutine could use to finish the computation, or even feed back intoDLASQ1= 3, termination criterion of outer while loop not met (program created more thanNunreduced blocks)
β¨ Author β¨
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 107 of file dlasq1.f.
π§ subroutine slasq1
subroutine slasq1 (integer n, real, dimension( * ) d, real, dimension( * ) e, real, dimension( * ) work, integer info)
SLASQ1 computes the singular values of a real square bidiagonal matrix. Used by sbdsqr.
π Purpose π
SLASQ1 computes the singular values of a real N-by-N bidiagonal matrix with diagonal D and off-diagonal E. The singular values are computed to high relative accuracy, in the absence of denormalization, underflow and overflow. The algorithm was first presented in by K. V. Fernando and B. N. Parlett, Numer. Math., Vol-67, No. 2, pp. 191-230, 1994, and the present implementation is described in , LAPACK Working Note.
πΈ Parameters πΈ
NβNis INTEGER. The number of rows and columns in the matrix.N >= 0.DβDis REAL array, dimension (N). On entry,Dcontains the diagonal elements of the bidiagonal matrix whose SVD is desired. On normal exit,Dcontains the singular values in decreasing order.EβEis REAL array, dimension (N). On entry, elementsE(1:N-1)contain the off-diagonal elements of the bidiagonal matrix whose SVD is desired. On exit,Eis overwritten.WORKβWORKis REAL array, dimension (4*N).INFOβINFOis INTEGER.= 0: successful exit< 0: ifINFO = -i, the i-th argument had an illegal value> 0: the algorithm failed= 1, a split was marked by a positive value inE= 2, current block ofZnot diagonalized after100*Niterations (in inner while loop) On exitDandErepresent a matrix with the same singular values which the calling subroutine could use to finish the computation, or even feed back intoSLASQ1= 3, termination criterion of outer while loop not met (program created more thanNunreduced blocks)
β¨ Author β¨
- Univ. of Tennessee
- Univ. of California Berkeley
- Univ. of Colorado Denver
- NAG Ltd.
Definition at line 107 of file slasq1.f.
π AUTHOR π
Generated automatically by Doxygen for LAPACK from the source code.
That's the whole lasq1(3) page, bestie β brought to you by LAPACK Version 3.12.0. Mwah πβ¨
π¦ 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