1DLASD0(1)           LAPACK auxiliary routine (version 3.1)           DLASD0(1)
2
3
4

NAME

6       DLASD0  -  divide  and  conquer  approach, DLASD0 computes the singular
7       value decomposition (SVD) of a real upper bidiagonal  N-by-M  matrix  B
8       with diagonal D and offdiagonal E, where M = N + SQRE
9

SYNOPSIS

11       SUBROUTINE DLASD0( N,  SQRE,  D,  E,  U,  LDU, VT, LDVT, SMLSIZ, IWORK,
12                          WORK, INFO )
13
14           INTEGER        INFO, LDU, LDVT, N, SMLSIZ, SQRE
15
16           INTEGER        IWORK( * )
17
18           DOUBLE         PRECISION D( * ), E( * ), U( LDU, * ), VT(  LDVT,  *
19                          ), WORK( * )
20

PURPOSE

22       Using a divide and conquer approach, DLASD0 computes the singular value
23       decomposition (SVD) of a real upper bidiagonal  N-by-M  matrix  B  with
24       diagonal  D  and offdiagonal E, where M = N + SQRE.  The algorithm com‐
25       putes orthogonal matrices U and VT such that B = U * S * VT. The singu‐
26       lar values S are overwritten on D.
27
28       A  related  subroutine,  DLASDA, computes only the singular values, and
29       optionally, the singular vectors in compact form.
30
31

ARGUMENTS

33       N      (input) INTEGER
34              On entry, the row dimension  of  the  upper  bidiagonal  matrix.
35              This is also the dimension of the main diagonal array D.
36
37       SQRE   (input) INTEGER
38              Specifies  the  column dimension of the bidiagonal matrix.  = 0:
39              The bidiagonal matrix has column dimension M = N;
40              = 1: The bidiagonal matrix has column dimension M = N+1;
41
42       D      (input/output) DOUBLE PRECISION array, dimension (N)
43              On entry D contains the main diagonal of the bidiagonal  matrix.
44              On exit D, if INFO = 0, contains its singular values.
45
46       E      (input) DOUBLE PRECISION array, dimension (M-1)
47              Contains  the  subdiagonal entries of the bidiagonal matrix.  On
48              exit, E has been destroyed.
49
50       U      (output) DOUBLE PRECISION array, dimension at least (LDQ, N)
51              On exit, U contains the left singular vectors.
52
53       LDU    (input) INTEGER
54              On entry, leading dimension of U.
55
56       VT     (output) DOUBLE PRECISION array, dimension at least (LDVT, M)
57              On exit, VT' contains the right singular vectors.
58
59       LDVT   (input) INTEGER
60              On entry, leading dimension of VT.
61
62              SMLSIZ (input) INTEGER On entry, maximum size of the subproblems
63              at the bottom of the computation tree.
64
65       IWORK  (workspace) INTEGER work array.
66              Dimension must be at least (8 * N)
67
68       WORK   (workspace) DOUBLE PRECISION work array.
69              Dimension must be at least (3 * M**2 + 2 * M)
70
71       INFO   (output) INTEGER
72              = 0:  successful exit.
73              < 0:  if INFO = -i, the i-th argument had an illegal value.
74              > 0:  if INFO = 1, an singular value did not converge
75

FURTHER DETAILS

77       Based on contributions by
78          Ming Gu and Huan Ren, Computer Science Division, University of
79          California at Berkeley, USA
80
81
82
83
84 LAPACK auxiliary routine (versionNo3v.e1m)ber 2006                       DLASD0(1)
Impressum